cURL / Mailing Lists / curl-users / Single Mail

curl-users

url.c:1768 has an internal error an needs to be fixed to work

From: Bret Rilling <lnxexpert_at_gmail.com>
Date: Mon, 5 Dec 2005 11:22:57 -0500

I am trying to automate searches through socks5 proxies. I often run
into this error when trying to send a query through a proxy:

I am running Fedora Core 2 with:
curl 7.11.1 (i386-redhat-linux-gnu) libcurl/7.11.1 OpenSSL/0.9.7a ipv6
zlib/1.2.1.2

#########################
curl -vvv --connect-timeout 15 --socks
pcp01068923pcs.andrsn01.tn.comcast.net:6748 www.yahoo.com
* About to connect() to pcp01068923pcs.andrsn01.tn.comcast.net port 6748
* url.c:1768 has an internal error an needs to be fixed to work
* Connected to pcp01068923pcs.andrsn01.tn.comcast.net (68.60.2.198) port 6748
> GET / HTTP/1.1
User-Agent: curl/7.11.1 (i386-redhat-linux-gnu) libcurl/7.11.1
OpenSSL/0.9.7a ipv6 zlib/1.2.1.2
Host: www.yahoo.com
Pragma: no-cache
Accept: */*

* Connection #0 left intact
* Closing connection #0
########################

I also tried subsituting the IP address of the proxies but it made no
difference. A search on Google produces one result:
http://curl.haxx.se/mail/lib-2003-04/0015.html

It is a code snippet that seems to reference a curl connection problem (Duh!):
#4 0xfc8d04e4 in Curl_protocol_connect (conn=0x1417458,
hostadd=0x11c6800) at url.c:1768

I will download url.c and grep through it for my error message but I
am not really a C programmer. Does anyone have any ideas what I can do
to solve this issue?
Received on 2005-12-05