We have just implemented the support for SPDY v3 in nginx, with flow
control (upload and download), and a switch option between SPDY v2 and
SPDY v3.
This patch is for Nginx-1.5.8.
The directives we added are:
spdy_version
syntax: spdy_version [2|3]
default: spdy_version 3
context: http, server
Specify the version of current SPDY protocol.
spdy_flow_control
syntax: spdy_flow_control on|off
default: spdy_flow_control on
context: http, server
Turn on or off with SPDY flow control.
spdy_init_recv_window_size
syntax: spdy_init_recv_window_size size
default: spdy_init_recv_window_size 64k
context: http, server
Specify the receiving window size for SPDY. By default, it’s 64K. It
will send a WINDOW UPDATE frame when it receives half of the window
size data every time.
…/ngx_pagespeed-release-1.6.29.7-beta/src/ngx_fetch.cc: In member
function
‘bool net_instaweb::NgxFetch::Init()’:
…/ngx_pagespeed-release-1.6.29.7-beta/src/ngx_fetch.cc:167:22: error:
‘ngx_resolver_ctx_t’ has no member named ‘type’
…/ngx_pagespeed-release-1.6.29.7-beta/src/ngx_fetch.cc: In static
member
function ‘static void
net_instaweb::NgxFetch::NgxFetchResolveDone(ngx_resolver_ctx_t*)’:
…/ngx_pagespeed-release-1.6.29.7-beta/src/ngx_fetch.cc:306:56: error:
cannot convert ‘ngx_addr_t’ to ‘in_addr_t {aka unsigned int}’ in
assignment
make[1]: *** [objs/addon/src/ngx_fetch.o] Error 1
make[1]: Leaving directory `/tmp/nginx-1.5.8’
make: *** [build] Error 2