Mercurial > hg > nginx
comparison src/http/v3/ngx_http_v3_parse.c @ 8462:153bffee3d7e quic
HTTP/3: fixed prefix in decoding Section Acknowledgement.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 02 Jul 2020 17:35:57 +0300 |
parents | 72f9ff4e0a88 |
children | 2576485b93d4 |
comparison
equal
deleted
inserted
replaced
8461:b3c07aa021f6 | 8462:153bffee3d7e |
---|---|
1463 | 1463 |
1464 switch (st->state) { | 1464 switch (st->state) { |
1465 | 1465 |
1466 case sw_ack_header: | 1466 case sw_ack_header: |
1467 | 1467 |
1468 if (ngx_http_v3_parse_prefix_int(c, &st->pint, 6, ch) != NGX_DONE) { | 1468 if (ngx_http_v3_parse_prefix_int(c, &st->pint, 7, ch) != NGX_DONE) { |
1469 break; | 1469 break; |
1470 } | 1470 } |
1471 | 1471 |
1472 rc = ngx_http_v3_ack_header(c, st->pint.value); | 1472 rc = ngx_http_v3_ack_header(c, st->pint.value); |
1473 if (rc != NGX_OK) { | 1473 if (rc != NGX_OK) { |