[Webkit-unassigned] [Bug 17682] XHR setRequestHeader("connection", "close") is bogusly rejected

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 7 15:47:24 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=17682





------- Comment #11 from mjs at apple.com  2008-03-07 15:47 PDT -------
By the time the origin server sends the response, it's too late to stop
counting the request against the connection limit, since by assumption by then
it has already been open for a while. It is better to decide this up front. I
am also not sure that closing the connection after the response needs to be
tied to not counting towards the connection limit. If there are requests for
the server queued up at the time the response comes back, it would be valid and
indeed good for the UA to reuse that connection if it can.

So in conclusion, I think it may be a better design to make XHR-initiated
requests always bypass the connection limit. 


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



More information about the webkit-unassigned mailing list