cURL / Mailing Lists / curl-library / Single Mail


Less blocking during proxy CONNECT

From: Adam D. Moss <>
Date: Fri, 09 Feb 2007 13:34:46 +0000


A few weeks ago I reported this issue with a really long block
in multi-mode:

Well, here's a first cut at a patch. It doesn't make the whole
proxy connect phase nonblocking, but it removes the potentially
long block where the proxy routinely doesn't reply to the CONNECT
for ages until it establishes a connect-through to the real remote host.

The patch isn't cleaned-up or extensively tested (well, it
passes all of the usual unit tests) but I'm submitting this rough
version for feedback.


Received on 2007-02-09