[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #54160] tcp_pcb_purge() and snd_queuelen
From: |
Robert Reither |
Subject: |
[lwip-devel] [bug #54160] tcp_pcb_purge() and snd_queuelen |
Date: |
Thu, 21 Jun 2018 03:58:39 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko |
URL:
<http://savannah.nongnu.org/bugs/?54160>
Summary: tcp_pcb_purge() and snd_queuelen
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: nathan2225
Submitted on: Thu 21 Jun 2018 07:58:37 AM UTC
Category: TCP
Severity: 3 - Normal
Item Group: Faulty Behaviour
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
lwIP version: 1.3.0
_______________________________________________________
Details:
Hi, I was playing around a little bit with that function (to clean up after
congestion due to blocked client side of connection and was wondering how this
should work.
I'm still stuck on lwip 1.3.0, but afaics, this code was not changed up to
2.0.3
If I call the func, all unsent and unacked packets were removed, but the sum
of these packages (kept in the var snd_queuelen) was not reseted.
So after calling, I still cannot add new packets to the connection, because
snd_queuelen is still at max (TCP_SND_QUEUELEN)
maybe we need here
pcb->snd_queuelen = 0;
Regards
Robert
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?54160>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/
- [lwip-devel] [bug #54160] tcp_pcb_purge() and snd_queuelen,
Robert Reither <=