curl-library
Re: curl multi + CURLOPT_INTERFACE + bind connection
Date: Thu, 14 Feb 2019 09:16:27 +0100 (CET)
On Mon, 4 Feb 2019, name via curl-library wrote:
(Please don't top-post, it makes it really hard to follow the conversation)
> i want create pool N of isolated http/2 connections to one host by socks
> proxy.
>
> for isolate this connections on multi-handle i use different
> CURLOPT_INTERFACE (127.x.x.x) option for each N connection.
>
> this connections store on multi-cache, and when i create new connections
> with same CURLOPT_INTERFACE i guaranted retrieve separate connection from
> cache (or new if dead)
Sure, that's been done before.
To me, it makes it interesting to consider a "virtual interface" for that kind
of grouping just within libcurl without needing to actually have to bind the
local end to an IP address...
-- / daniel.haxx.se ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2019-02-14