summaryrefslogtreecommitdiff
path: root/src/h2.c
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2023-04-09 18:39:48 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2023-04-29 16:29:21 -0400
commita2555e50972b8dec4cfa1a414655732a9a6b8772 (patch)
treeb1b5032fd5f67cb3869d5b8c56d6b602d8607647 /src/h2.c
parent51f5607c6dc6873e3a2fa6f8a15293cc06797774 (diff)
downloadlighttpd-git-a2555e50972b8dec4cfa1a414655732a9a6b8772.tar.gz
[core] r->x union w/ structs for r->x.{h1}
Diffstat (limited to 'src/h2.c')
-rw-r--r--src/h2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/h2.c b/src/h2.c
index 8c463175..49582af7 100644
--- a/src/h2.c
+++ b/src/h2.c
@@ -3031,7 +3031,7 @@ h2_con_upgrade_h2c (request_st * const h2r, connection * const con)
#endif
#if 0 /* expect empty request body */
r->reqbody_length = h2r->reqbody_length; /* currently always 0 */
- r->te_chunked = h2r->te_chunked; /* must be 0 */
+ r->x.h1.te_chunked = h2r->x.h1.te_chunked;/*must be 0 before r->x.h2 above*/
r->resp_body_scratchpad = h2r->resp_body_scratchpad; /*(not started yet)*/
swap(&r->reqbody_queue,&h2r->reqbody_queue);/*currently always empty queue*/
#endif