[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Performance drop due port numbers reused too fast
From: |
Jochen Strohbeck |
Subject: |
Re: [lwip-users] Performance drop due port numbers reused too fast |
Date: |
Mon, 24 Oct 2022 15:30:25 +0200 |
Hello Indan,
> Did the client ACK all data sent by the server? FIN will only be set
> when all queued data has been sent. If the client didn't ACK all data,
> the server will keep retransmitting till the socket times-out.
Yes.
> The server should eventually close the connection, but preferably after
> the client did, so the TIME_WAIT burden is put onto the client instead
> of the server. (Although they seem to just ignore the problem.)
I wonder why the lwip server does not send FIN,ACK after calling
netconn_close() and netconn_delete(). Probably there is additional code
/ action required to send FIN,ACK?
Regards,
Jochen