diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2023-03-25 19:05:13 -0400 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2023-03-25 19:05:13 -0400 |
commit | d7a239dcf2583eb6c51a36755f9153566c34f0e9 (patch) | |
tree | 2fa33d78c4ac50842af754e5af40bd908172b6ee /src/h2.c | |
parent | 112c918caac2d62d17fd1771d1605cf1cfcecad1 (diff) | |
download | lighttpd-git-d7a239dcf2583eb6c51a36755f9153566c34f0e9.tar.gz |
[core] h2 mark :status matching lsxpack enum value
Diffstat (limited to 'src/h2.c')
-rw-r--r-- | src/h2.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2139,6 +2139,7 @@ h2_send_headers (request_st * const r, connection * const con) lsx.name_len = 7; lsx.val_offset = 9; lsx.val_len = 3; + lsx.flags = LSXPACK_HPACK_VAL_MATCHED; if (__builtin_expect( (200 == r->http_status), 1)) { lsx.hpack_index = LSHPACK_HDR_STATUS_200; } @@ -2153,6 +2154,7 @@ h2_send_headers (request_st * const r, connection * const con) case 404: lsx.hpack_index = LSHPACK_HDR_STATUS_404; break; case 500: lsx.hpack_index = LSHPACK_HDR_STATUS_500; break; default: + lsx.flags = 0; break; } int nx; |