Subject: | HTTPS uploads thru Firefox 2.0 Win32 are chopped off |
Uploading a large (1 MB) file via a simple HTML form in Firefox 2.0 Win32 using HTTPS
results in a "cut off" file on the server (about 200K short). Here is a test page to reproduce:
https://staging.sr.admission.net/joetemp/file_upload.html
I recompiled Apache::Request with the DEBUG flag enabled (in apache_multipart_buffer.h)
and here is everything it logged while reproducing the bug:
http://staging.sr.admission.net/joetemp/libapreq_debug_ff20_win32_https.txt
Notice the last line:
[Thu Dec 21 10:24:18 2006] [error] [client 10.40.9.22] [libapreq] silently drop remaining
'254180' bytes
That is approximately the number of bytes missing from the file. Also, the log contains
TONS of "find_boundary" entries. I have also entered a Firefox bug about this, as I am not
sure if this is a libapreq problem, or a Firefox problem. However, the bug is not reproducible
using the Perl CGI module, or PHP.
Here is the Firefox bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=356470
libapreq-1.33
Perl 5.8.7 built for i686-linux
Apache 1.3.37
Linux staging.sr.admission.net 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT
2006 i686 i686 i386 GNU/Linux