curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Fwd: Sharing connection pool amongst different handles

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 24 Oct 2017 17:24:01 +0200 (CEST)

On Tue, 24 Oct 2017, Alibek Joraev wrote:

> thinking loud, basically, when request is made, for example one way hash
> from password can be stored in the cached connection (probably somewhere in
> connectdata struct) and then next time new request is made to the same host,
> password from new request needs to be checked against stored hash and if
> they are same, ntlm connection can be shared (without expensive type1,
> type2, type3 message exchanges).

libcurl already handles connection re-use for NTLM connections. libcurl also
knows the user name + password for each connection, as that is passed to it
using the API...

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2017-10-24