From 359aeb109391f06d4860d221142a2d5b675ee9f4 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Sat, 20 Apr 2019 09:14:49 +0100 Subject: [PATCH] client http rx: check correct binding state --- lib/roles/http/client/client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/roles/http/client/client.c b/lib/roles/http/client/client.c index abd254ed6..12018ccaf 100644 --- a/lib/roles/http/client/client.c +++ b/lib/roles/http/client/client.c @@ -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)) {