[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:11:15 PST 2008


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





------- Comment #9 from mjs at apple.com  2008-03-07 15:11 PDT -------
We can use an attempt to set "Connection: close" as a hint not to reuse the
connection, but I don't think it is correct to send it along as-is, nor would
sending it along necessarily make the network layer decide that the connection
doesn't count towards the connection limit.

If we wanted a hint that says "this may be a long-lived connection, so don't
block other loads waiting for it", then perhaps something more explicit (like a
property on the XHR object) would make more sense. Or perhaps we could always
treat XHR this way. IE8b1 raised their connection limit to 6, and the HTTPbis
Working Group at the IETF is considering eliminating the connection limit from
the spec entirely.

Note that CFNetwork's current connection limit is 4, so a single long-lived
request is unlikely to block progress, but we can still make improvements here.


-- 
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