Closed Bug 36281 Opened 26 years ago Closed 26 years ago

Form submission times out when trying to upload attached file

Categories

(Core :: Networking, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: jason, Assigned: ruslan)

References

()

Details

Attachments

(3 files)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.14 i686; en-US; m14) Gecko/20000418 BuildID: 2000041816 While trying to upload an attachment file to a mozilla bug, the form submission timed out when trying to use mozilla 2000041816. However, when I did the exact same thing using Netscape 4.7/Linux, it worked fine. Reproducible: Always Steps to Reproduce: 1. Go to above URL. 2. Press the 'Browse' button on the form, and choose an HTML file from your local disk. 3. Enter a description for the file, and press the 'HTML File' radio button. 4. Press the Form submit button. The mozilla icon animation begins. 5. Eventually, an error dialog pops up informing the user that the request timed out. Actual Results: The form submission with file attachment timed out. Expected Results: The form submission with file attachment should have completed successfully. I then tried the exact same thing with Netscape 4.7/Linux on the same machine and the form submission worked exactly as expected.
I can confirm this using a recent (May 2nd) CVS pull on Linux. Unlike some other network failures, a popup alert is generated for things. However (as one can see here) the attachment actually makes it through to Bugzilla; it's just that Mozilla doesn't seem to recognize this.
Status: UNCONFIRMED → NEW
Ever confirmed: true
reassigning
Assignee: rods → pollmann
Since the data is getting though okay, this sounds like a networking problem - perhaps not sending out a notification that the post is completed? I am not seeing the progress bar stop for page load on any page, not just form posts. This may be related... See also bug 38496, where it seems the OnEndDocumentLoad handler is being called prematurely.
Assignee: pollmann → gagan
Component: Form Submission → Networking
I've encountered another test case for this bug. Go to http://www.datingfaces.ixlabs.com/df/cgi-bin/df-enter and log in as "netscape" pw: "netscape". Click "settings and controls" on the upper right, and then "Face photo" or "Life photo" underneath "Your Photos" on the lower right. If there's an upload form there, use it, otherwise click the "Change Photo" or "Upload Photo" button at the bottom and use the returned upload screen. If I try to upload a small image (61 bytes) it works fine. If I try to upload a 300K .jpg file (screenshot in this case), it eventually times out. I've got ethernet to the box running the code, and when I test it, it works fine with Netscape 4.72, and I know that it's worked for many other versions of Netscape as well as many versions of IE. The code on the receiving end (I looked) is clearly timing out due to no data being received. The timeout for "still getting data, but really slowly" is orders of magnitude larger.
Eric (Eisenhart), this may also be related to bug 37744, which was just fixed last week. Have you tried with a recent build? Thanks!
I just downloaded a build from mozilla.org (Mozilla/5.0 (X11; U; Linux 2.2.14-12 i586; en-US; m16) Gecko/20000518) and confirmed with it that the bug still exists.
->ruslan
Assignee: gagan → ruslan
I get Connection refused when attempting to submit a form (pic.datingfaces.com:81). Can it be an intermediate site problem? The original bug was due to incorrect buffer logic in socket transport it was definitely fixed. I tried to submit to other places and it works. Please try again and reopen if necessery.
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → WORKSFORME
Attached file 420k html file —
Marking VERIFIED WORKSFORME.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: