Re: HTTP connection to unix socket
Date: Wed, 16 Apr 2008 23:57:17 +0200 (CEST)
On Wed, 16 Apr 2008, Bart Whiteley wrote:
>> You could probably implement this today without modifying libcurl by using
>> the CURLOPT_OPENSOCKETFUNCTION callback to open the socket within your
> Nice. That is working for me. Thanks for the tip.
> Just one note on this solution: In singleipconnect() (lib/connect.c) after
> the call to the opensocket callback, just below the /* FIXME */ note, the
> code assumes AF_INET or AF_INET6, and the return value of Curl_inet_ntop()
> isn't checked prior to passing addr_buf to infof().
You think you can provide a diff -u output for a suitable change that works
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2008-04-17