cURL / Mailing Lists / curl-library / Single Mail

curl-library

cURL crashes with HTTPS proxies

From: Andreas Rieke <andreas.rieke_at_isl.de>
Date: Sat, 02 Dec 2006 13:22:35 +0100

Hi,

using cURL in my client software for HTTPS connections via proxies seems
to cause problems since cURL crashes within curl_multi_perform.

From a linux machine (redhat enterprise 3), I do HTTPS requests to a
host where only the name is known. I use cURL 7.16.0 and c-ares 1.3.2
and even tried the daily snapshots (c-ares-1.3.3-20061129 and
curl-7.16.1-20061129) with the same results. The proxies used are
Aladdin, Bluecoat and squid (yes, the connection is going via 3
proxies), and each of these in fact only works as a proxy and does NOT
open the SSL tunnel. My client tries to connect to the server
periodically every 5 seconds, and to make things even more complex, the
first connections work fine. However, after about 50 seconds, cURL
crashes within curl_multi_perform (and I even do not know if it crashes
within c-ares or within cURL).

I was able to find a workaround using the old version cURL 7.15.3 and
c-ares 1.3.0 where I did not find a single crash within 2 days. I also
tried the current version with a single squid proxy, also without any
crashes or problems. However, I would rather use the current versions of
both c-ares and cURL instead of running old ones.

Is there anybody having similar problems? Does anybody have an idea
about changes from the old to the new versions mentionend which could
cause the problem?

Thanks in advance,

Andreas
Received on 2006-12-02