mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-13 03:36:59 +08:00
tcp: fix bug #36167 again (fixed in 2014, but when calling shutdown(WR) followed by recv(), this still happened)
This commit is contained in:
@@ -66,6 +66,8 @@ enum tcp_state {
|
||||
LAST_ACK = 9,
|
||||
TIME_WAIT = 10
|
||||
};
|
||||
/* ATTENTION: this depends on state number ordering! */
|
||||
#define TCP_STATE_IS_CLOSING(state) ((state) >= FIN_WAIT_1)
|
||||
|
||||
/* Flags for "apiflags" parameter in tcp_write */
|
||||
#define TCP_WRITE_FLAG_COPY 0x01
|
||||
|
||||
Reference in New Issue
Block a user