cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: left for http2

From: Fabian Frank <fabian.frank.de_at_gmail.com>
Date: Tue, 4 Feb 2014 00:31:19 -0800

On Jan 30, 2014, at 2:50 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:
> 4 - write NPN / ALPN logic for gnutls and NSS

I created a patch that adds ALPN support for GnuTLS, please find it attached. Since the GnuTLS project decided to not implement NPN [1], there won’t be a patch for that.

You will see this if you have GnuTLS >= 3.2.0 and ALPN works:
* ALPN, offering HTTP-draft-09/2.0, http/1.0
* ALPN, server accepted to use HTTP-draft-09/2.0

I tested this against a local nghttp2 server as well as Microsoft’s https://http2katanatest.cloudapp.net:8443/root/index.html and Tatsuhiro’s https://106.186.112.116/ and all 3 seem to work fine.

Regards,
Fabian

[1] http://lists.gnutls.org/pipermail/gnutls-devel/2013-August/006411.html

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2014-02-04