[Webkit-unassigned] [Bug 27507] Resources loaded from the Highwinds CDN sporadically stall for 30 seconds

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 21 12:38:38 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=27507


Mark Rowe (bdash) <mrowe at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1




--- Comment #2 from Mark Rowe (bdash) <mrowe at apple.com>  2009-07-21 12:38:37 PDT ---
Thanks for the bug report.  The following two commands demonstrate the issue:

mrowe at daisy:~$ curl -I
"http://cds019.sj1.hwcdn.net:80/k8q5c4b4/cds/talbot/dmin/anthony_t.jpg?doppl=4cf89cb4069e8a81&dopsig=3b2115527be4fc4792f97778fb52cfe9"
HTTP/1.1 200 OK
Date: Tue, 21 Jul 2009 19:20:03 GMT
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Accept-Ranges: bytes
ETag: "1241034776"
Last-Modified: Wed, 29 Apr 2009 19:52:56 GMT
Cache-Control: max-age=0
Server: Powered by Highwinds-Software
Content-Length: 35162
Content-Type: image/jpeg

mrowe at daisy:~$ curl -H 'If-None-Match: "1241034776"'  -I
"http://cds019.sj1.hwcdn.net:80/k8q5c4b4/cds/talbot/dmin/anthony_t.jpg?doppl=4cf89cb4069e8a81&dopsig=3b2115527be4fc4792f97778fb52cfe9"
HTTP/1.1 304 Not Modified
Date: Tue, 21 Jul 2009 19:20:04 GMT
Accept-Ranges: bytes
ETag: "1241034776"
Server: Powered by Highwinds-Software
Content-Length: 35162
Content-Type: image/jpeg

mrowe at daisy:~$ 

In particular, the problem here is the Content-Length header that is present in
the 304 response.  This leads to CFNetwork waiting for the body of the HTTP
response to be delivered, which never happens.  The connection eventually times
out and is closed, at which point the cached image is displayed.  The HTTP
specification says that "All 1xx (informational), 204 (no content), and 304
(not modified) responses MUST NOT include a message-body".  The presence of a
Content-Length header typically indicates that a message body follows, so it
seems that the server isn't following the HTTP specification correctly here.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list