You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by yl...@apache.org on 2016/07/26 17:50:35 UTC
svn commit: r1754164 - /httpd/httpd/trunk/modules/proxy/mod_proxy_wstunnel.c
Author: ylavic
Date: Tue Jul 26 17:50:34 2016
New Revision: 1754164
URL: http://svn.apache.org/viewvc?rev=1754164&view=rev
Log:
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.
Modified:
httpd/httpd/trunk/modules/proxy/mod_proxy_wstunnel.c
Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_wstunnel.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_wstunnel.c?rev=1754164&r1=1754163&r2=1754164&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_wstunnel.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_wstunnel.c Tue Jul 26 17:50:34 2016
@@ -89,7 +89,8 @@ static int proxy_wstunnel_pump(ws_baton_
"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_
"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;