Closed Bug 876103 Opened 12 years ago Closed 10 years ago

Firefox reports connection reset even if the page arrives completely

Categories

(Core :: Networking: HTTP, defect)

21 Branch
x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: e_timotei, Unassigned)

Details

Attachments

(1 file)

205 bytes, text/plain
Details
Attached file x.sh
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:21.0) Gecko/20100101 Firefox/21.0 (Beta/Release) Build ID: 20130512193902 Steps to reproduce: I have created a simple http server that uses xinetd and a script that writes a simple http/1.1 page that uses Connection: close header. The trick is that after all the page is written I wait 10 secs then exit the scrip. My instinct tells me that if the tcp stream is closed after a while since the last character, the file decriptor read actually returns 0 or -1 with eof, the browser will no longer look to the connection header and sees the connection termination as an error. Actual results: the browser displays the page then after the 10 secs it will display the "connection reset" message. Expected results: the browser should just display the page.
Attachment #754086 - Attachment mime type: application/octet-stream → text/plain
Thanks for filing the bug. My apologies that it didn't get followed up on. I just tried it out now and it is works for me. Perhaps something has changed. If you verify it is still an issue with firefox 47 I'd be happy to work with you on it (just reopen).
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: