|
From: | Ambroz Bizjak |
Subject: | [lwip-devel] [bug #48476] TCP sent callback called wrongly due to picking up old pcb->acked |
Date: | Mon, 11 Jul 2016 20:26:56 +0000 (UTC) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36 |
Follow-up Comment #2, bug #48476 (project lwip): Hey, I confirm this fixes it. But I think this could be refactored so that pcb->acked is removed and instead a static tcp_acked variable is used in tcp_in.c, much like how recv_data and recv_flags work. Here's how I did it in my fork: https://github.com/ambrop72/aprinter/commit/4abf387137ac881ff66f95161e42c51aad325fdc _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?48476> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |