Mercurial > hg > nginx
comparison src/http/v3/ngx_http_v3_request.c @ 8230:31f7c697b6d9 quic
Fixed pointer increment while parsing HTTP/3 header.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Wed, 18 Mar 2020 15:28:20 +0300 |
parents | 268f4389130d |
children | 1e45c02f6376 |
comparison
equal
deleted
inserted
replaced
8229:cfc429911c0d | 8230:31f7c697b6d9 |
---|---|
81 | 81 |
82 default: | 82 default: |
83 break; | 83 break; |
84 } | 84 } |
85 | 85 |
86 for ( /* void */ ; b->pos < b->last; b->pos++) { | 86 while (b->pos < b->last) { |
87 | 87 rc = ngx_http_v3_parse_headers(c, st, *b->pos++); |
88 rc = ngx_http_v3_parse_headers(c, st, *b->pos); | |
89 | 88 |
90 if (rc == NGX_ERROR) { | 89 if (rc == NGX_ERROR) { |
91 goto failed; | 90 goto failed; |
92 } | 91 } |
93 | 92 |