Closed
Bug 373831
Opened 18 years ago
Closed 17 years ago
Provide a way to disable "keep-alive" header
Categories
(Core :: Networking: HTTP, enhancement)
Core
Networking: HTTP
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: ferdinandw+bmo, Assigned: ferdinandw+bmo)
References
()
Details
Attachments
(1 file)
|
2.05 KB,
patch
|
Biesinger
:
review-
|
Details | Diff | Splinter Review |
Quite some time ago someone came to IRC complaining that he couldn't stop firefox from sending the "keep-alive" header. He assumed that changing the network.http.keep-alive.timeout pref to 0 would disable it, but it doesn't.
The reason he brought it up was because a proxy detector wrongly flagged him as using a proxy.
I wrote a small patch at the time to create the behaviour he expected, I'm submitting it now to get it off my long-term TODO list. :-)
Comment 2•17 years ago
|
||
Comment on attachment 258476 [details] [diff] [review]
patch to provide a way to disable the "keep-alive" header
You should also send Connection: Close in this case, no? I.e. just add mIdleTimeout != 0 to the NS_HTTP_ALLOW_KEEPALIVE if
Attachment #258476 -
Flags: review-
Well, the point is to have keep-alive behaviour without the non-standard (for http/1.1) header.
As biesi has pointed out on irc, this isn't the way to go about it. Since there's no other sensible, concise way to do it (that I can think of), this one goes in the bin.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•