comparison src/http/ngx_http_spdy.h @ 5545:01e2a5bcdd8f

SSL: support ALPN (IETF's successor to NPN). Signed-off-by: Piotr Sikora <piotr@cloudflare.com>
author Piotr Sikora <piotr@cloudflare.com>
date Tue, 28 Jan 2014 15:33:49 -0800
parents 827e53c136b0
children 39d7eef2e332
comparison
equal deleted inserted replaced
5544:2f586f1684fa 5545:01e2a5bcdd8f
15 #include <zlib.h> 15 #include <zlib.h>
16 16
17 17
18 #define NGX_SPDY_VERSION 2 18 #define NGX_SPDY_VERSION 2
19 19
20 #ifdef TLSEXT_TYPE_next_proto_neg
21 #define NGX_SPDY_NPN_ADVERTISE "\x06spdy/2" 20 #define NGX_SPDY_NPN_ADVERTISE "\x06spdy/2"
22 #define NGX_SPDY_NPN_NEGOTIATED "spdy/2" 21 #define NGX_SPDY_NPN_NEGOTIATED "spdy/2"
23 #endif
24 22
25 #define NGX_SPDY_STATE_BUFFER_SIZE 16 23 #define NGX_SPDY_STATE_BUFFER_SIZE 16
26 24
27 #define NGX_SPDY_CTL_BIT 1 25 #define NGX_SPDY_CTL_BIT 1
28 26