cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Link between curl_easy handle and connection

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 7 Mar 2016 16:41:21 +0100 (CET)

On Mon, 7 Mar 2016, Pierre Brico wrote:

> So my problem is that libcurl manages its own connections pool. In this
> pool, there are connections to the web server 1 and the web server 2 but
> each virtual user has its HTTP session on one server (there is no
> replication between web servers). So, for example, if libcurl takes a
> connection to server 1 and the virtual user has its current HTTP session on
> server 2, the web application blocks the request because the user is not
> authenticated on this server...
>
> If this is not something you want to change in libcurl, could you help me
> pointing out in the sources where I can change this behavior?

I'm not sure what "this" means here. Can you specify what you would like
libcurl to do here for you?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html
Received on 2016-03-07