diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2022-03-25 02:07:30 -0400 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2022-03-25 08:43:42 -0400 |
commit | fa5e9b5364dae268c31b4c7f79be6a1017277978 (patch) | |
tree | f506c105085bd726d256bdf1a0067d3c2da3bff1 /src/mod_wstunnel.c | |
parent | 5d1aa5d06f1dcae64481c142f7daaa0b08aee8d3 (diff) | |
download | lighttpd-git-fa5e9b5364dae268c31b4c7f79be6a1017277978.tar.gz |
[multiple] immed connect to backend for streaming
connect to backend (mod_cgi, mod_proxy, mod_sockproxy, mod_wstunnel)
for streaming request body without waiting for initial data in request
body. Useful for things like websockets when data starts on server-side
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 df0715cf..42886f0d 100644 --- a/src/mod_wstunnel.c +++ b/src/mod_wstunnel.c @@ -494,7 +494,7 @@ static handler_t wstunnel_handler_setup (request_st * const r, plugin_data * con DEBUG_LOG_INFO("WebSocket Version = %d", hybivers); } - hctx->gw.opts.backend = BACKEND_PROXY; /*(act proxy-like; not used)*/ + hctx->gw.opts.backend = BACKEND_PROXY; /*(act proxy-like)*/ hctx->gw.opts.pdata = hctx; hctx->gw.opts.parse = wstunnel_recv_parse; hctx->gw.stdin_append = wstunnel_stdin_append; |