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 <locutusofb...@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
Touch seeded packages, 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@eris:~$ curl --http2 www.google.com
  curl: (1) Unsupported protocol

  
  drwilco@eris:~$ lsb_release -rd
  Description:  Ubuntu Xenial Xerus (development branch)
  Release:      16.04
  root@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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to