lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] Question about unsent_oversize reset by zero length pcb in


From: Axel Lin
Subject: [lwip-devel] Question about unsent_oversize reset by zero length pcb in tcp_write()
Date: Thu, 19 Jan 2017 00:26:41 +0800

Hi,
tcp_write() allows a pcb with len=0.  (tcp_write_checks() return
ERR_OK if len is 0)
In this case, nothing add to pcb->unsent list and last_unsent->len is
not changed
but pcb->unsent_oversize will be set to 0.
I'm wondering if this is correct or not. Comments?

Regards,
Axel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]