cURL / Mailing Lists / curl-library / Single Mail

curl-library

HTTP/2 tests

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 6 Jun 2016 23:52:52 +0200 (CEST)

Hey

I've just added and merged three new tests to the test suite (1700, 1701 and
1702). They use HTTP/2 (done with Upgrade:) using the nghttpx proxy from the
nghttp2 project.

To have the tests actually work, you not only need to have curl built to
support HTTP/2 but you also need to have the nghttpx executable in your path
when you run the test suite.

nghttpx is an HTTP/2 proxy, which means it'll convert the request to a HTTP/1
equivalent and send that forward to the HTTP/1 test server and then it'll get
the HTTP/1 response from that server and convert it back over to HTTP/2. IOW:
the HTTP/2 tests need both the proxy and the regular HTTP/1 server running.

We can certainly add more HTTP/2 tests.

I plan to add HTTP/2-TLS tests too later once we've made sure the plain TCP
ones work.

Do let me know if you find any problems and as always, we'll appreciate your
patches or whatever you can do to help!

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html
Received on 2016-06-06