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:
parent
575b96e32e
commit
359aeb1093
1 changed files with 2 additions and 1 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue