I believe this is revision 306:

Rev 306, 2012-04-07 02:54:51
Author: dave
Log message:
* Properly handle non-HTTP/1.1 keep-alive (many proxies respond with 1.1 even 
when client is 1.0)
and they happily add keep-alive connection, which we held open and 1.0 clients 
hanged. Now, HTTP
version is detected based purely on the client's original request and explicit 
keep-alive/close
headers are added to the replies based on its version. When "close" header is 
present, Cntlm
actually closes the connection to satisfy truly 0.9/1.0 clients (even though 
parent proxy
returned keep-alive) and now both 1.1 and 1.0 clients get what they expect. May 
need more testing,
but seems to work OK in both the DIRECT and PROXY handlers.
* Added more detailed debug logging of HTTP header versions from clients and 
servers/proxyies alike.
* Some additional write() return value checks (some dummy) to keep new GCC from 
spewing the
return-value-not-used warnings, even though we sometimes really don't care 
about the result.
Adding this specific warning suppression flag in the Makefile broke compilation 
with older GCC
versions.

Attaching output of:
$ svn di --old=http://svn.awk.cz/cntlm/trunk@305 
--new=http://svn.awk.cz/cntlm/trunk@306 >r306.patch

** Patch added: "Upstream fix for HTTP/1.1 persistent connections with HTTP/1.0 
clients"
   
https://bugs.launchpad.net/ubuntu/+source/cntlm/+bug/1009436/+attachment/3187586/+files/r306.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1009436

Title:
  package-data-downloader hangs forever when attempting to download
  through cntlm proxy

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cntlm/+bug/1009436/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to