Support for "Proxy-Connection" header in case of proxy servers
Submitted by Lukasz Slachciak
Assigned to libsoup-maint@gnome.bugs
Link to original bug (#619578)
Description
Created attachment 161915 "Proxy-Connection" support
Some proxy servers send "Proxy-Connection": keep-alive in http header response, regardless of http protocol version in which communication with destination server occurs. It can lead to the situation that in case of destination servers supporting http 1.0 libsoup will assume that connection is of type "non persistent" (by default in 1.0) but in fact it will be of type "keep-alive" because of proxy. Proxy server is informing about this by setting "Proxy-Connection: keep-alive". Unfortunately libsoup is not recognizing this header field.
Attached patch introduces support for this field.
Notes: "Proxy-Connection" IS NOT HTTP 1.1 compliant. You will not find it in the HTTP 1.1 specification: http://www.w3.org/Protocols/rfc2616/rfc2616.html There is an interesting article about this field: http://homepage.ntlworld.com/jonathan.deboynepollard/FGA/web-proxy-connection-header.html
Patch 161915, ""Proxy-Connection" support":
0001-Support-for-Proxy-Connection-header-added.patch
Version: 2.31.x