Browse Source

tcp_proxy_client: move PROXY FEED per-packet log from DEBUG to TRACE

etcp-inflight-fix
Evgeny 4 months ago
parent
commit
f8111f7f03
  1. 2
      src/proxy/tcp_proxy_client.c

2
src/proxy/tcp_proxy_client.c

@ -188,7 +188,7 @@ static void tcp_proxy_client_feed_from_transport(struct tcp_proxy_client_conn *p
if (sent_any) { if (sent_any) {
uint32_t unsent = 0; struct tcp_seg* s; uint32_t unsent = 0; struct tcp_seg* s;
for (s = pc->pcb->unsent; s; s = s->next) unsent++; for (s = pc->pcb->unsent; s; s = s->next) unsent++;
DEBUG_DEBUG(DEBUG_CATEGORY_TRAFFIC, "PROXY FEED exit->client sid=%08x fed=%u q=%u->%u snd_wnd=%u cwnd=%u unsent=%u", DEBUG_TRACE(DEBUG_CATEGORY_TRAFFIC, "PROXY FEED exit->client sid=%08x fed=%u q=%u->%u snd_wnd=%u cwnd=%u unsent=%u",
pc->stream_id, sent_any, q_pre, queue_entry_count(pc->to_lwip), pc->pcb->snd_wnd, pc->pcb->cwnd, unsent); pc->stream_id, sent_any, q_pre, queue_entry_count(pc->to_lwip), pc->pcb->snd_wnd, pc->pcb->cwnd, unsent);
tcp_output(pc->pcb); tcp_output(pc->pcb);
} }

Loading…
Cancel
Save