mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
sspc: temp ignore txcr to support h1
We want to manage the proxy txcr, but at the moment the proxy doesn't pass back information about if it's actually h1 or h2 it found across the internet. Temporarily defeat txcr wait so we can support h1 until that's improved.
This commit is contained in:
parent
a71cbe785e
commit
6eb793bbef
1 changed files with 2 additions and 2 deletions
|
@ -317,10 +317,10 @@ callback_sspc_client(struct lws *wsi, enum lws_callback_reasons reason,
|
|||
|
||||
/* we can't write anything if we don't have credit */
|
||||
if (!h->ignore_txc && h->txc.tx_cr <= 0) {
|
||||
lwsl_notice("%s: WRITEABLE / OPERATIONAL:"
|
||||
lwsl_info("%s: WRITEABLE / OPERATIONAL:"
|
||||
" lack credit (%d)\n", __func__,
|
||||
h->txc.tx_cr);
|
||||
break;
|
||||
// break;
|
||||
}
|
||||
|
||||
len = sizeof(pkt) - LWS_PRE - 19;
|
||||
|
|
Loading…
Add table
Reference in a new issue