7.47.0-1ubuntu2.2 is much slower than 7.22.0-3ubuntu4.17 for https
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
curl (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
curl-7.
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
$ dpkg -l curl
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii curl 7.47.0-1ubuntu2.2 amd64 command line tool for transferring data with URL syntax
$ curl -w "@curl-format.txt" https:/
time_namelookup: 0.000
time_connect: 0.001
time_appconnect: 0.009
time_pretransfer: 0.009
time_redirect: 0.000
time_starttransfer: 0.011
----------
time_total: 0.011
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
$ dpkg -l curl
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Description
+++-===
ii curl 7.22.0-3ubuntu4.17 Get a file from an HTTP, HTTPS or FTP server
$ curl -w "@curl-format.txt" https:/
time_namelookup: 0.000
time_connect: 0.001
time_appconnect: 0.256
time_pretransfer: 0.256
time_redirect: 0.000
time_starttransfer: 0.257
----------
time_total: 0.257
The problem was that when cul-7.47.0 compiled with gnutls and with --with-
curl built with gnutls with --with-ca-bundle and without --with-ca-path was still slower than the built with libssl.
What needs to be done to build 7.47.0 with similar response time for https as 7.22.0?
strace output of curl 7.47.0