From 6eb793bbef992b742ad928ee7abdf7844b43323f Mon Sep 17 00:00:00 2001 From: Andy Green Date: Mon, 3 Aug 2020 16:33:59 +0100 Subject: [PATCH] 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. --- lib/secure-streams/secure-streams-client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/secure-streams/secure-streams-client.c b/lib/secure-streams/secure-streams-client.c index f0a54e1e4..fd1a4077f 100644 --- a/lib/secure-streams/secure-streams-client.c +++ b/lib/secure-streams/secure-streams-client.c @@ -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;