[Bug 1567697] Re: libcurl is missing http2 support

Fredrik Jonson fredrik at jonson.org
Sat Apr 29 09:53:52 UTC 2017


AFAICT http2 support is currently intentionally dropped from curl
because the dependency nghttp2-dev is not in the 'main' archive, but in
the community supported 'universe' archive.

Quoting the curl package changelog:

 curl (7.52.1-4ubuntu1) zesty; urgency=low

  * Merge from Debian unstable.  Remaining changes:
    - Drop dependencies not in main:
      + Build-Depends: Drop libssh2-1-dev, and libnghttp2-dev.
      + Drop libssh2-1-dev from binary package Depends.
      + debian/control: drop --with-nghttp2

 -- Gianfranco Costamagna <locutusofborg at debian.org>  Sun, 09 Apr 2017
13:07:51 +0200

https://launchpad.net/ubuntu/+source/curl/+changelog#detail_curl_7.52.1-4ubuntu1

So, to resolve this issue it would seem that Canonical first must be
convinced to take on official support for the nghttp2 package. Not sure
how we're supposed to do that?

Cheering from the sideline has obviously not worked very well for this
issue so far. :)

-- 
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:
  Confirmed

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