From 69ee35c909d0185472189a18fd84c135b8d04a5b Mon Sep 17 00:00:00 2001 From: sg Date: Sat, 17 Jan 2015 14:36:39 +0100 Subject: [PATCH] tcp_close_shutdown: remove invalid comment on linger: we cannot support linger for the raw API since linger implies blocking --- src/core/tcp.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/core/tcp.c b/src/core/tcp.c index 4a6dbffe..bc4df43a 100644 --- a/src/core/tcp.c +++ b/src/core/tcp.c @@ -262,9 +262,6 @@ tcp_close_shutdown(struct tcp_pcb *pcb, u8_t rst_on_unacked_data) Since we don't really have to ensure all data has been sent when tcp_close returns (unsent data is sent from tcp timer functions, also), we don't care for the return value of tcp_output for now. */ - /* @todo: When implementing SO_LINGER, this must be changed somehow: - If SOF_LINGER is set, the data should be sent and acked before close returns. - This can only be valid for sequential APIs, not for the raw API. */ tcp_output(pcb); } return err;