cURL / Mailing Lists / curl-library / Single Mail


Re: CURLOPT_LOCALPORT option broken ?!

From: <>
Date: Tue, 24 Feb 2009 09:18:45 +0100

Daniel Stenberg wrote:
> On Tue, 24 Feb 2009, wrote:
>> attached is a new version of the patch, I removed the SO_BINDDEVICE
>> code , as it is not possible to bind an outgoing connection to an
>> interface. SO_BINDTODEVICE is meant to serve for bind()&listen() only.
> Even if that might be the case, it has been proven to work (at least to
> the exteny that it does not cause any failure) so it really shouldn't be
> the reason for why this fails.

Correct, removing that piece of code is totally unrelated to the
solaris10 problem.

For the actual problem, I have no idea why resolving dev fails as the
whole code use to resolve dev to myhost did not change.

I hope Senthil will try the last patch with improved debug messages, so
we get some more information what is going wrong.

Received on 2009-02-24