1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

mod_proxy_wstunnel: we want to detect whether some response was sent to

the client when forwarding data from the backend to the client, not the
reverse.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1754164 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yann Ylavic
2016-07-26 17:50:34 +00:00
parent a3814e4cd2
commit dba4e304b3

View File

@@ -89,7 +89,8 @@ static int proxy_wstunnel_pump(ws_baton_t *baton, apr_time_t timeout, int try_po
"backend was readable");
done |= ap_proxy_transfer_between_connections(r, backconn,
c, bb_i, bb_o,
"backend", NULL,
"backend",
&replied,
AP_IOBUFSIZE,
0)
!= APR_SUCCESS;
@@ -113,8 +114,7 @@ static int proxy_wstunnel_pump(ws_baton_t *baton, apr_time_t timeout, int try_po
"client was readable");
done |= ap_proxy_transfer_between_connections(r, c, backconn,
bb_o, bb_i,
"client",
&replied,
"client", NULL,
AP_IOBUFSIZE,
0)
!= APR_SUCCESS;