cURL / Mailing Lists / curl-library / Single Mail


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

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

On Wed, 16 Jan 2013, 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?

List admin:
Received on 2013-01-16