cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] curl: Support CURLOPT_LOCALADDR to bind to local address.

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 16 Jan 2013 22:14:51 +0100 (CET)

On Wed, 16 Jan 2013, greearb_at_candelatech.com wrote:

> This allows a user to bind to both an interface (with CURLOPT_INTERFACE) and
> a local IP address. In doing so, it allows the user to work-around some
> serious performance issues on machines with lots of virtual interfaces
> because curl no longer has to scan all interfaces each time it makes a
> connection.

If we want to bind to a specific IP address instead of a specific interface
(like when we use the "host!" prefix), doesn't it already skip the lengthy
scan of all the interfaces?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2013-01-16