SPDY: fixed parsing of http version. There is an error while parsing multi-digit minor version numbers (e.g. "HTTP/1.10").
diff --git a/src/http/ngx_http_spdy.c b/src/http/ngx_http_spdy.c index 20755f4..b5bfe18 100644 --- a/src/http/ngx_http_spdy.c +++ b/src/http/ngx_http_spdy.c
@@ -2794,6 +2794,10 @@ ch = *p; + if (ch == '.') { + break; + } + if (ch < '0' || ch > '9') { return NGX_HTTP_PARSE_INVALID_REQUEST; }