1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

client http rx: check correct binding state

This commit is contained in:
Andy Green 2019-04-20 09:14:49 +01:00
parent 575b96e32e
commit 359aeb1093

View file

@ -1249,7 +1249,8 @@ spin_chunks:
{
struct lws *wsi_eff = lws_client_wsi_effective(wsi);
if (!wsi_eff->protocol_bind_balance &&
if (!wsi_eff->protocol_bind_balance ==
!!wsi_eff->http.proxy_clientside &&
user_callback_handle_rxflow(wsi_eff->protocol->callback,
wsi_eff, LWS_CALLBACK_RECEIVE_CLIENT_HTTP_READ,
wsi_eff->user_space, *buf, n)) {