curl-users
Re: Avoiding sharing connections with multi_handle
Date: Wed, 25 Jan 2017 10:01:55 -0800
thanks daniel!
On Tue, Jan 24, 2017 at 2:51 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Tue, 24 Jan 2017, Corey Kasten wrote:
>
> I have an application using libcurl (version 7.35.0-1ubuntu2.9)
>>
>
> Then you should rather use the curl-library mailing list, as that's where
> the other libcurl hackers and users hang out!
>
> I do not have the ability to actually connect to a bunch of distinct
>> servers, so I am testing by having each easy_handle transfer to a server at
>> localhost.
>>
>
> Easiest? Add a bunch of virtual hosts to localhost simply by adding new
> names to 127.0.0.1 in /etc/hosts and configure your web server to deal with
> them. curl will only reuse connections based on them being made to the same
> name (and port etc).
>
> --
>
> / daniel.haxx.se
> -----------------------------------------------------------
> Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
> Etiquette: https://curl.haxx.se/mail/etiquette.html
>
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-01-25