comparison src/http/v3/ngx_http_v3_parse.c @ 8491:ac0398da8f23 quic

HTTP/3: undo 5a92523e50d3 after parser refactoring (e1eb7f4ca9f1). This is no longer needed after HTTP/3 request processing has moved into its own function ngx_http_v3_process_header().
author Sergey Kandaurov <pluknet@nginx.com>
date Tue, 01 Jun 2021 12:02:08 +0300
parents 3509b9dcfb47
children ba5977b38b2e
comparison
equal deleted inserted replaced
8490:3509b9dcfb47 8491:ac0398da8f23
781 return rc; 781 return rc;
782 } 782 }
783 783
784 st->literal.length = st->pint.value; 784 st->literal.length = st->pint.value;
785 if (st->literal.length == 0) { 785 if (st->literal.length == 0) {
786 st->value.data = (u_char *) "";
787 goto done; 786 goto done;
788 } 787 }
789 788
790 st->state = sw_value; 789 st->state = sw_value;
791 break; 790 break;