[Bug 1567697] Re: libcurl is missing http2 support

Fredrik Jonson fredrik at jonson.org
Fri Apr 12 09:50:27 UTC 2019


It appears that this issue has been quietly resolved now:

  user at localhost:~$  dpkg -l libcurl4 curl|grep ii
  ii  curl           7.61.0-1ubuntu2.3 amd64        command line tool for transferring data with URL syntax
  ii  libcurl4:amd64 7.61.0-1ubuntu2.3 amd64        easy-to-use client-side URL transfer library (OpenSSL flavour)

  user at localhost:~$ curl -I --http2 https://http2.akamai.com/demo|tee
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed
    0  2421    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  HTTP/2 200 
  server: Apache
  etag: "07ce30bc53aa7834dff55f92a6d05a56:1466062139"
  last-modified: Thu, 16 Jun 2016 07:28:59 GMT
  content-length: 2421
  content-type: text/html
  rtt: 14
  myproto: h2
  protocol_negotiation: h2
  expires: Fri, 12 Apr 2019 09:27:25 GMT
  date: Fri, 12 Apr 2019 09:27:25 GMT
  cache-control: max-age=0, no-cache, no-store
  pragma: no-cache
  ...

Thank you, to whoever made it happen! :)

** Changed in: curl (Ubuntu)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to curl in Ubuntu.
https://bugs.launchpad.net/bugs/1567697

Title:
  libcurl is missing http2 support

Status in curl package in Ubuntu:
  Fix Released

Bug description:
  libcurl supports HTTP/2.0 through libnghttp2, but the package on
  Ubuntu is not compiled with it.

  Alternatively, a libcurl4-(gnutls|openssl)-nghttp2 might be a good
  idea.

  See also: https://curl.haxx.se/docs/http2.html

  curl CLI tool should not need an update, as it already has the
  commandline switches, but when you use them it comes back with
  unsupported protocol.

  drwilco at eris:~$ curl --http2 www.google.com
  curl: (1) Unsupported protocol

  
  drwilco at eris:~$ lsb_release -rd
  Description:	Ubuntu Xenial Xerus (development branch)
  Release:	16.04
  root at eris:~# apt-cache policy libcurl3
  libcurl3:
    Installed: 7.47.0-1ubuntu2
    Candidate: 7.47.0-1ubuntu2
    Version table:
   *** 7.47.0-1ubuntu2 500
          500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
          100 /var/lib/dpkg/status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/curl/+bug/1567697/+subscriptions



More information about the foundations-bugs mailing list