cURL / Mailing Lists / curl-library / Single Mail


Re: left for http2

From: Fabian Frank <>
Date: Mon, 3 Feb 2014 01:12:44 -0800

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

I created a patch that adds ALPN support for OpenSSL, which means we can now support NPN and ALPN for OpenSSL. I hoped this will enable us to test with Microsoft’s http2-katana [1], but ironically there test server is down. Anyways, having ALPN will allow us to do more interop tests sooner or later and it’s what will be the required mechanism. For now I could only test this with a local nghttpd and, where it works well.

If ALPN is working on the client then curl -v will contain the following line:
* ALPN, offering HTTP-draft-09/2.0, http/1.0
and if the server is ALPN-enabled and picked a protocol from the client’s list:
* ALPN, server accepted to use HTTP-draft-09/2.0

Please note that HTTP-draft-09/2.0 with HTTP upper case and http/1.1 with http lower case really seems to be correct. specifically requests lowercase http for 1.1 and is using upper case HTTP for 2.0.



List admin:

Received on 2014-02-03