cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl and nghttp2

From: Bisera Milosheska <biseramilosheska_at_gmail.com>
Date: Sat, 4 Oct 2014 01:36:17 +0200

Correction, the example I gave was not with my testing server. However,
they should both support the same version.

The command

$ nghttp2/src/nghttp -nvu http://10.0.0.110:8080/index.html

returns

[0.000] HTTP Upgrade request

GET /index.html HTTP/1.1

Host: 10.0.0.110:8080

Connection: Upgrade, HTTP2-Settings

Upgrade: h2c-14

HTTP2-Settings: AAMAAABkAAQAAP__

Accept: */*

User-Agent: nghttp2/0.6.3-DEV

[ERROR] Failed to parse HTTP Upgrade response header:
(HPE_INVALID_CONSTANT) invalid constant string

Some requests were not processed. total=1, processed=0

-------------------------------------------------------------------
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 2014-10-04