curl / Mailing Lists / curl-library / Single Mail

curl-library

Freezing in multi mode on SSL urls

From: Kostirya <kostirya_at_gmail.com>
Date: Thu, 26 Jan 2017 10:38:30 +0200

Hello.

libcurl is freezed in multi mode on SSL urls after it updated from
7.38.0 to 7.52.1 version.

Prompt, please, what I am doing wrong.
Test code attached to the letter.

Linux SMP Debian 4.9.2-2 (2017-01-12) x86_64 GNU/Linux

It's output with libcurl 7.38.0

> ./a.out https://www.google.com/
Using libcurl/7.38.0 OpenSSL/1.0.1t zlib/1.2.8 libidn/1.29
libssh2/1.4.3 librtmp/2.3
>>> timerCallback: timeout: 1 ms
.>>> timerCallback: timeout: 1 ms
.>>> socketCallback: adding fd=5 action=2
>>> timerCallback: timeout: 199 ms
.>>> socketCallback: adding fd=5 action=1
...>>> socketCallback: adding fd=5 action=4
>>> socketCallback: removing fd=5
>>> timerCallback: timeout: 1 ms
.>>> socketCallback: adding fd=6 action=2
>>> timerCallback: timeout: 117 ms
.>>> socketCallback: adding fd=6 action=1
..>>> timerCallback: timeout: 77 ms
...........>>> timerCallback: timeout: -1 ms
.>>> socketCallback: adding fd=6 action=4
>>> socketCallback: removing fd=6
code=200 url=https://www.google.de/?gfe_rd=cr&ei=RKeJWLedHqri8AfZ-YmQDQ
>>> bye bye

It's output with libcurl 7.52.1.
Libcurl freezed.

> ./a.out https://www.google.com/
Using libcurl/7.52.1 OpenSSL/1.0.2j zlib/1.2.8 libidn2/0.14
libpsl/0.16.1 (+libicu/57.1) libssh2/1.7.0 nghttp2/1.17.0 librtmp/2.3
>>> timerCallback: timeout: 0 ms
.>>> timerCallback: timeout: 0 ms
.>>> timerCallback: timeout: 1 ms
.>>> socketCallback: adding fd=4 action=2
>>> timerCallback: timeout: 199 ms
.>>> socketCallback: adding fd=4 action=4
>>> socketCallback: removing fd=4

It's output wiht CURLOPT_VERBOSE

> ./a.out https://www.google.com/
Using libcurl/7.52.1 OpenSSL/1.0.2j zlib/1.2.8 libidn2/0.14
libpsl/0.16.1 (+libicu/57.1) libssh2/1.7.0 nghttp2/1.17.0 librtmp/2.3
>>> timerCallback: timeout: 0 ms
.>>> timerCallback: timeout: 0 ms
.>>> timerCallback: timeout: 1 ms
.>>> timerCallback: timeout: 1 ms
.>>> timerCallback: timeout: 1 ms
* Trying 172.217.20.164...
* TCP_NODELAY set
.>>> socketCallback: adding fd=4 action=2
>>> timerCallback: timeout: 199 ms
* Connected to www.google.com (172.217.20.164) port 443 (#0)
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: /etc/ssl/certs
.>>> socketCallback: adding fd=4 action=4
>>> socketCallback: removing fd=4

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html

Received on 2017-01-26