'curl: (1) Error' when using curl with --http2 option
Date: Wed, 21 Jun 2017 15:31:22 +0300
I am using OpenWRT linux which has curl pre-installed:
root_at_mylinkit:~# curl --version
curl 7.40.0 (mipsel-openwrt-linux-gnu) libcurl/7.40.0 PolarSSL/1.3.14
Protocols: file ftp ftps http https
Features: IPv6 Largefile SSL
I need to be able to send http2 request to communicate with Amazon AVS.
When I try test curl with http2 enabled, following error is displayed:
root@mylinkit:~# curl -v --http2 https://nghttp2.org
curl: (1) Error
I suspect that nghttp2 is not installed, but what exactly mean (1) in this
p.s. I am read https://curl.haxx.se/libcurl/c/libcurl-errors.html. But
still it does not explain what exactly is wrong here.