[Bug 1567697] Re: libcurl is missing http2 support

kay 1567697 at bugs.launchpad.net
Wed Mar 29 08:37:35 UTC 2017


I had to backport from Debian Sid:

mkdir curl
wget http://http.debian.net/debian/pool/main/c/curl/curl_7.52.1-3.dsc http://http.debian.net/debian/pool/main/c/curl/curl_7.52.1.orig.tar.gz http://http.debian.net/debian/pool/main/c/curl/curl_7.52.1-3.debian.tar.xz
sudo apt-get install autoconf automake libgnutls28-dev libidn2-0-dev libkrb5-dev libldap2-dev libnss3-dev libpsl-dev librtmp-dev libtool quilt stunnel4 libnghttp2-dev libssh2-1-dev
cd curl-7.52.1
dpkg-buildpackage -b -j4
# if you want to skip tests
# DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -b -j4
sudo dpkg -i ../curl_7.52.1-3_amd64.deb ../libcurl3_7.52.1-3_amd64.deb

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