cURL
Haxx ad
libcurl

Shopping cart software, Online file storage, Online photo storage, Hosted shopping cart, Contact management software, Email marketing software, Project management software, Issue tracking software, Online notepad, Web publishing software

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Archives

CURLINFO_LASTSOCKET returns error 56

From: Karel K <karelsemail_at_gmail.com>
Date: Mon, 2 Nov 2009 12:22:46 +0100

Hi,

On a hint of Daniel on the curl-users list, I took a look at
curltunnel (see http://repo.or.cz/w/curltunnel.git). This is a progam
that uses libcurl to achieve the same functionality as proxytunnel
(http://proxytunnel.sf.net) has, that is tunneling ssh over a proxy
server. The advantage of curltunnel is that it can offer better proxy
authentication methods than proxytunnel.

After removing a small bug in the upstream code, it did actually work
perfect on my linux box.

However when run on windows is breaks. The line

ret = curl_easy_getinfo(hnd, CURLINFO_LASTSOCKET, &sckt);

returns a ret of 56, which is, according to strerror(ret): File
locking deadlock error?

As a newbie user of libcurl I have no idea where to go further. Any clues?

Thanks in advance,

Karel.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-11-02

These mail archives are generated by hypermail.

donate! Page updated November 16, 2009.
web site info

File upload with ASP.NET