cURL / Mailing Lists / curl-users / Single Mail

curl-users

HTTP2 support and case use

From: Gusano, Javier <javier.gusano.martinez_at_hp.com>
Date: Tue, 27 Jan 2015 17:01:56 +0000

Hi everyone,
My name is Javier and this is my first e-mail in this list. I've got a problem using CURL under Ubuntu 14.04.1 LTS. This is the process that I've been using for the installation:
1st. I installed NGHTTP2 as defined in this URL: https://github.com/tatsuhiro-t/nghttp2
2nd: I clone CURL from the GIT server and use this commands for compile:
./buildconf
./configure
make
make install

Note: When I use ./configure, my linux terminal shows:
  SSL support: enabled (OpenSSL)
  [...]
  TLS-SRP support: enabled
  [...]
  HTTP2 support: enabled (nghttp2)

But when I try to use this command, CURL can't use the HTTP2 protocol:
curl --http2 --url http://nghttp2.org
curl: (1) Unsupported protocol

┬┐Could some one show me how to install and use CURL with HTTP2 support step by step? Thanks for your help.

Regards,

Javier

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-01-27