[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [lwip-devel] [task #6930] Implement SO_LINGER
From: |
Goldschmidt Simon |
Subject: |
RE: [lwip-devel] [task #6930] Implement SO_LINGER |
Date: |
Thu, 28 Jun 2007 09:04:09 +0200 |
> I think your patch to do_close is correct since tcp_close
> handles all the pcb states.
> But I think maybe a loop similiar to the one in netconn_close
> is still needed. Otherwise, if the sendqueue is full the
> close will fail.
>
> What do you think?
That's true. Although I wouldn't handle it in netconn_close but instead
'internally' in api_msg.c (e.g. don't call TCPIP_APIMSG_ACK in do_close
but try again in tcp_poll or tcp_sent and ACK from there).
I did some similar measurements but I don't seem to have reached the
send buffer limit...
Simon
- [lwip-devel] [task #6930] Implement SO_LINGER, Simon Goldschmidt, 2007/06/26
- Re: [lwip-devel] [task #6930] Implement SO_LINGER, Berglund Magnus, 2007/06/28
- RE: [lwip-devel] [task #6930] Implement SO_LINGER,
Goldschmidt Simon <=
- [lwip-devel] [task #6930] Implement SO_LINGER, Frédéric Bernon, 2007/06/28
- [lwip-devel] [task #6930] Implement SO_LINGER, Simon Goldschmidt, 2007/06/28
- [lwip-devel] [task #6930] Implement SO_LINGER, Simon Goldschmidt, 2007/06/28
- [lwip-devel] [task #6930] Implement SO_LINGER, Frédéric Bernon, 2007/06/29
- [lwip-devel] [task #6930] Implement SO_LINGER, Simon Goldschmidt, 2007/06/29
- [lwip-devel] [task #6930] Implement SO_LINGER, Frédéric Bernon, 2007/06/29
- [lwip-devel] [task #6930] Implement SO_LINGER, Simon Goldschmidt, 2007/06/29
- [lwip-devel] [task #6930] Implement SO_LINGER, Frédéric Bernon, 2007/06/29
- [lwip-devel] [task #6930] Implement SO_LINGER, Simon Goldschmidt, 2007/06/29
- [lwip-devel] [task #6930] Implement SO_LINGER, Frédéric Bernon, 2007/06/29