Don't add a "Connection" header for CONNECT requests
authorFabian Keil <fk@fabiankeil.de>
Fri, 9 Dec 2016 09:13:19 +0000 (09:13 +0000)
committerFabian Keil <fk@fabiankeil.de>
Fri, 9 Dec 2016 09:13:19 +0000 (09:13 +0000)
commit81ebaf495849d8057d6c9a595edda17699261b12
tree59e5f161340833451d98834e607b62864f913400
parent08ad8304651556ba3168d4b99b5cd7ef53446ae4
Don't add a "Connection" header for CONNECT requests

Explicitly sending "Connection: close" is not necessary and
apparently it causes problems with some forwarding proxies
that will close the connection prematurely.

Reported by Marc Thomas on privoxy-users@:
https://lists.privoxy.org/pipermail/privoxy-users/2016-December/000127.html
parsers.c