HTTP parser: saving unsupported version.
This is useful for log purposes.
@@ -461,6 +461,7 @@ nxt_http_parse_request_line(nxt_http_request_parse_t *rp, u_char **pos,
&& ver.s.point == '.'
&& ver.s.minor >= '0' && ver.s.minor <= '9')
{
+ rp->version.ui64 = ver.ui64;
return NXT_HTTP_PARSE_UNSUPPORTED_VERSION;
}
