cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: multiple parallel requests with curl multi slow with libnss

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Mon, 16 Nov 2015 15:57:01 +0100

On Monday 16 November 2015 15:43:36 Rainer Canavan wrote:
> 2015-11-16 12:38 GMT+01:00 Kamil Dudka <kdudka_at_redhat.com>:
> > On Monday 16 November 2015 12:08:23 Rainer Canavan wrote:
> [...]
>
> >> Is this a known problem with libnss?
> >
> > libcurl in RHEL 7.1 did not support non-blocking TLS handshake. It is
> > going to be introduced in RHEL 7.2. However, it should work with
> > upstream libcurl 7.45 because the feature was introduced in 7.37:
> >
> > https://github.com/bagder/curl/commit/curl-7_37_0~117
>
> It turns out that you're correct and I must somehow have botched the
> build of either curl or the test tool on Friday. I does indeed run
> in ~0.6s both with curl 7.45.0 and ibcurl-7.29.0-25.el7 from RHEL 7.2.

Sounds good. Thanks for the confirmation and sorry for the late delivery
of this feature!

Kamil

> >> Are there workarounds?
> >
> > A possible workaround would be to use a separate thread for each
> > connection.
> I believe that would be rather complex to hack into PHP, so we'll probably
> just wait for RHEL 7.2.
>
> thanks,
>
> rainer
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-11-16