On Jan 30, 2014, at 2:50 PM, Daniel Stenberg <[email protected]> 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
0001-gtls-add-ALPN-support.patch.gz
Description: GNU Zip compressed data
------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
