Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable keep-alive in Firefox

I am using firefox 36.0. I set the value of network.tcp.keepalive.enabled as false.. but in the request header I can still see connection:keep-alive

I need to disable it for some of my experiments. Anybody has any idea?

like image 901
Shaiful Chowdhury Avatar asked Nov 05 '25 02:11

Shaiful Chowdhury


2 Answers

This seems to be a bug on Firefox, as a temporary workaround you can try this:

network.http.keep-alive.timeout = 0

This preference only has an effect if network.http.keep-alive is true.

like image 190
Pedro Lobito Avatar answered Nov 07 '25 16:11

Pedro Lobito


The correct parameter was network.http.keep-alive ...but does not exist any more (!)

As far as I understand, they consider you should not do that with HTTP/1.1.

https://bugzilla.mozilla.org/show_bug.cgi?id=770331#c17

like image 38
Supersharp Avatar answered Nov 07 '25 15:11

Supersharp



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!