Closed Bug 156570 Opened 23 years ago Closed 22 years ago

Shift-reload of image yields a double GET

Categories

(Core :: Networking: HTTP, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: erik, Assigned: darin.moz)

Details

See the following dump of the stream. The second GET has a referer set. This seems to be the only difference between the two GETs. GET /images/logo.gif HTTP/1.1 Host: localhost:3333 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1a) Gecko/20020611 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1 Accept-Language: en-us, en;q=0.50 Accept-Encoding: gzip, deflate, compress;q=0.9 Accept-Charset: utf-8, * Keep-Alive: 300 Connection: keep-alive Pragma: no-cache Cache-Control: no-cache GET /images/logo.gif HTTP/1.1 Host: localhost:3333 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1a) Gecko/20020611 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1 Accept-Language: en-us, en;q=0.50 Accept-Encoding: gzip, deflate, compress;q=0.9 Accept-Charset: utf-8, * Keep-Alive: 300 Connection: keep-alive Referer: http://localhost:3333/images/logo.gif Pragma: no-cache Cache-Control: no-cache
this sounds like a dupe of the "Heidi" bug 121084. is it?
It may be. I don't have broken images, but the server fails to send content for the second request, as if Mozilla had closed the socket already at that point. I tried this with my own web app written in Java (where I noticed the problem first). The dump above is a request on Google's web site.
Just so that the conditions of the issue are clearer: shift-reload won't hit the cache. In that case Mozilla will perform a regular GET, as it would if it didn't have any entry in cache, as opposed to a conditional GET (with the If-Modified-Since header set) when doing a regular reload. The image shows all-right, but the server gets two hits, and fails to complete the second one.
> this sounds like a dupe of the "Heidi" bug 121084. is it? FYI: bug 121084 has been marked as a dupe of bug 98890.
http.
Assignee: new-network-bugs → darin
Component: Networking → Networking: HTTP
QA Contact: benc → tever
Is this still a problem in 1.1 or later? pi
No response, marking WFM. pi
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
Verified WFM.
Status: RESOLVED → VERIFIED
QA Contact: tever → junruh
You need to log in before you can comment on or make changes to this bug.