openssl: set up hooks with to perform NPN
authorFabian Frank <fabian@pagefault.de>
Thu, 30 Jan 2014 05:18:03 +0000 (21:18 -0800)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 30 Jan 2014 10:13:28 +0000 (11:13 +0100)
commit22c198fa89512c76f916d7d3909d113bb32ddcd0
tree0a0867b5b59ad02fa0e3d8ece684c89f09789663
parentc3fe3d9926836ab2587dbab1e9192637db9d3cf5
openssl: set up hooks with to perform NPN

NPN is what is available in the wild today to negotiate SPDY or HTTP/2.0
connections. It is expected to be replaced by ALPN in the future. If
HTTP/2.0 is negotiated, this is indicated for the entire connection and
http.c is expected to initialize itself for HTTP/2.0 instead of
HTTP/1.1.

see:
http://technotes.googlecode.com/git/nextprotoneg.html
http://tools.ietf.org/html/draft-ietf-tls-applayerprotoneg-04
lib/urldata.h
lib/vtls/openssl.c