Discussion:
Problem to upload file in form
Dominique Asselineau
2013-11-21 15:57:50 UTC
Permalink
Hello,

It seems that Lynx on Debian Wheezy (version 2.8.8dev.12) does not
allow to upload files trough a form beyond 8192 bytes. I do not find
an option to change this behavior. Before I used a version that I
compiled. Should I compile the last version with an option allowing
the upload without limit?

Thanks.

Dominique

--
Thomas Dickey
2013-11-22 01:50:19 UTC
Permalink
Post by Dominique Asselineau
Hello,
It seems that Lynx on Debian Wheezy (version 2.8.8dev.12) does not
allow to upload files trough a form beyond 8192 bytes. I do not find
I use the feature occasionally with the w3c validator, and just checked it
now with a 200kb file (works for me...). There's no specific size limit
in the code (and I don't recall any relevant bug-fixes in that area).
So... more information would be helpful.
Post by Dominique Asselineau
an option to change this behavior. Before I used a version that I
compiled. Should I compile the last version with an option allowing
the upload without limit?
--
Thomas E. Dickey <***@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net
Tim Chase
2013-11-22 02:03:17 UTC
Permalink
Post by Thomas Dickey
Post by Dominique Asselineau
It seems that Lynx on Debian Wheezy (version 2.8.8dev.12) does not
allow to upload files trough a form beyond 8192 bytes. I do not find
I use the feature occasionally with the w3c validator, and just
checked it now with a 200kb file (works for me...). There's no
specific size limit in the code (and I don't recall any relevant
bug-fixes in that area). So... more information would be helpful.
This is usually a matter of what the server-code is configured to
accept. In Apache, you can twiddle the LimitRequestBody in the
httpd.conf file. If the application is served via PHP, the
POST_MAX_SIZE and UPLOAD_MAX_FILESIZE options can also control this.
Based on Thomas's knowledge/comments regarding the code, it sounds
like you're hitting a server with an undersized max-upload-size

-tkc
Dominique Asselineau
2013-11-22 12:19:21 UTC
Permalink
Tim Chase wrote on Thu, Nov 21, 2013 at 08:03:17PM -0600
Post by Tim Chase
Post by Thomas Dickey
Post by Dominique Asselineau
It seems that Lynx on Debian Wheezy (version 2.8.8dev.12) does not
allow to upload files trough a form beyond 8192 bytes. I do not find
I use the feature occasionally with the w3c validator, and just
checked it now with a 200kb file (works for me...). There's no
specific size limit in the code (and I don't recall any relevant
bug-fixes in that area). So... more information would be helpful.
This is usually a matter of what the server-code is configured to
accept. In Apache, you can twiddle the LimitRequestBody in the
httpd.conf file.
This server is used to manage a repository of research papers. There
is no known limit.
Post by Tim Chase
If the application is served via PHP, the
POST_MAX_SIZE and UPLOAD_MAX_FILESIZE options can also control this.
The application has a limit to prevent malicious usage. It is fixed
at 100MB. I have the same problem with my local server (development)
and the server in production.

Dominique
Post by Tim Chase
Based on Thomas's knowledge/comments regarding the code, it sounds
like you're hitting a server with an undersized max-upload-size
-tkc
--
+--------------------------------o--------------------------------------------+
| P-mail: | E-mail: |
| TELECOM ParisTech - Dep. TSI | ***@telecom-paristech.fr |
| Dominique Asselineau | Phone: (33/0) 1 45 81 78 91 |
| 46, rue Barrault | Fax: (33/0) 1 45 81 37 94 |
| 75634 PARIS Cedex 13 | |
| France | |
+--------------------------------o--------------------------------------------+
Thomas Dickey
2013-11-23 15:41:58 UTC
Permalink
Post by Dominique Asselineau
Tim Chase wrote on Thu, Nov 21, 2013 at 08:03:17PM -0600
Post by Tim Chase
Post by Thomas Dickey
Post by Dominique Asselineau
It seems that Lynx on Debian Wheezy (version 2.8.8dev.12) does not
allow to upload files trough a form beyond 8192 bytes. I do not find
I use the feature occasionally with the w3c validator, and just
checked it now with a 200kb file (works for me...). There's no
specific size limit in the code (and I don't recall any relevant
bug-fixes in that area). So... more information would be helpful.
This is usually a matter of what the server-code is configured to
accept. In Apache, you can twiddle the LimitRequestBody in the
httpd.conf file.
This server is used to manage a repository of research papers. There
is no known limit.
You might see the problem in the trace file (lynx -trace).
--
Thomas E. Dickey <***@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net
Dominique Asselineau
2013-11-22 11:54:51 UTC
Permalink
Thomas Dickey wrote on Thu, Nov 21, 2013 at 08:50:19PM -0500
Post by Thomas Dickey
Post by Dominique Asselineau
Hello,
It seems that Lynx on Debian Wheezy (version 2.8.8dev.12) does not
allow to upload files trough a form beyond 8192 bytes. I do not find
I use the feature occasionally with the w3c validator, and just checked it
now with a 200kb file (works for me...).
What version of Lynx? On what operating system and what version?
Post by Thomas Dickey
There's no specific size limit
in the code (and I don't recall any relevant bug-fixes in that area).
So... more information would be helpful.
When I upload a PDF file containing several MO via a form, only 8KB
are stored in a temporary file of the Apache server and the server
waits for the rest of the file, then a timeout occurs with this error

(70007)The timeout specified has expired: Error reading request entity data

I never encountered this problem with my personnal compiled version,
maybe 2.8.7. I believe I compiled it to use SSL which was not
supported in the packaged version on Debian/Lenny.

Dominique
Post by Thomas Dickey
Post by Dominique Asselineau
an option to change this behavior. Before I used a version that I
compiled. Should I compile the last version with an option allowing
the upload without limit?
--
http://invisible-island.net
ftp://invisible-island.net
Thomas Dickey
2013-11-22 11:59:56 UTC
Permalink
I used the versions that you mentioned :-)

----- Original Message -----
From: "Dominique Asselineau" <***@telecom-paristech.fr>
To: lynx-***@nongnu.org
Sent: Friday, November 22, 2013 6:54:51 AM
Subject: Re: [Lynx-dev] Problem to upload file in form

Thomas Dickey wrote on Thu, Nov 21, 2013 at 08:50:19PM -0500
Post by Thomas Dickey
Post by Dominique Asselineau
Hello,
It seems that Lynx on Debian Wheezy (version 2.8.8dev.12) does not
allow to upload files trough a form beyond 8192 bytes. I do not find
I use the feature occasionally with the w3c validator, and just checked it
now with a 200kb file (works for me...).
What version of Lynx? On what operating system and what version?
Post by Thomas Dickey
There's no specific size limit
in the code (and I don't recall any relevant bug-fixes in that area).
So... more information would be helpful.
When I upload a PDF file containing several MO via a form, only 8KB
are stored in a temporary file of the Apache server and the server
waits for the rest of the file, then a timeout occurs with this error

(70007)The timeout specified has expired: Error reading request entity data

I never encountered this problem with my personnal compiled version,
maybe 2.8.7. I believe I compiled it to use SSL which was not
supported in the packaged version on Debian/Lenny.

Dominique
Post by Thomas Dickey
Post by Dominique Asselineau
an option to change this behavior. Before I used a version that I
compiled. Should I compile the last version with an option allowing
the upload without limit?
--
http://invisible-island.net
ftp://invisible-island.net
_______________________________________________
Lynx-dev mailing list
Lynx-***@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lynx-dev
--
Thomas E. Dickey <***@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net
Loading...