diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2020-01-06 21:50:50 -0500 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2020-07-08 19:54:29 -0400 |
commit | af5df35275b78621747339c0a6b7e14e1913fc4f (patch) | |
tree | 5e039e5b4620ba95186828e40d1fb8c4e20eb406 /src/mod_wstunnel.c | |
parent | 8c46768d5bfb26f22447a53988de6ddcf39f567e (diff) | |
download | lighttpd-git-af5df35275b78621747339c0a6b7e14e1913fc4f.tar.gz |
[core] rename content_length to reqbody_length
rename content_length to reqbody_length in request,
to more easily differentiate request body length
from response content_length
Diffstat (limited to 'src/mod_wstunnel.c')
-rw-r--r-- | src/mod_wstunnel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_wstunnel.c b/src/mod_wstunnel.c index f4ebd82d..b45df76e 100644 --- a/src/mod_wstunnel.c +++ b/src/mod_wstunnel.c @@ -351,7 +351,7 @@ static handler_t wstunnel_create_env(gw_handler_ctx *gwhctx) { handler_ctx *hctx = (handler_ctx *)gwhctx; connection *con = hctx->gw.remote_conn; handler_t rc; - if (0 == con->request.content_length) { + if (0 == con->request.reqbody_length) { http_response_upgrade_read_body_unknown(con); chunkqueue_append_chunkqueue(con->request_content_queue, con->read_queue); |