[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [task #10088] Correctly implement close() vs. shutdown()
From: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [task #10088] Correctly implement close() vs. shutdown() |
Date: |
Tue, 16 Feb 2010 15:44:22 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.2) Gecko/20100115 Firefox/3.6 |
Follow-up Comment #5, task #10088 (project lwip):
> close() should also send a RST if there are any data already
> received but not yet delivered to the application
Does shutdown(SHUT_RDWR) also do that?
> To do this we need to make additions to the sockets and netconn
> layers to allow access to "how much data is buffered on receive
> for this connection" at each layer, so we can decide what the
> appropriate behaviour is.
We already have that information: the application tells TCP about that by
calling tcp_recved(). Isn't it enought to check the receive window? If it has
the initial size, no more data should be buffered at higher levels.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/task/?10088>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
- [lwip-devel] [task #10088] Correctly implement close() vs. shutdown(), Simon Goldschmidt, 2010/02/15
- [lwip-devel] [task #10088] Correctly implement close() vs. shutdown(), Simon Goldschmidt, 2010/02/15
- [lwip-devel] [task #10088] Correctly implement close() vs. shutdown(), Jeff Barber, 2010/02/16
- [lwip-devel] [task #10088] Correctly implement close() vs. shutdown(), Kieran Mansley, 2010/02/16
- [lwip-devel] [task #10088] Correctly implement close() vs. shutdown(),
Simon Goldschmidt <=
- [lwip-devel] [task #10088] Correctly implement close() vs. shutdown(), Kieran Mansley, 2010/02/16
- [lwip-devel] [task #10088] Correctly implement close() vs. shutdown(), Simon Goldschmidt, 2010/02/16
- [lwip-devel] [task #10088] Correctly implement close() vs. shutdown(), Kieran Mansley, 2010/02/16
- [lwip-devel] [task #10088] Correctly implement close() vs. shutdown(), Simon Goldschmidt, 2010/02/16
- [lwip-devel] [task #10088] Correctly implement close() vs. shutdown(), Kieran Mansley, 2010/02/16
- [lwip-devel] [task #10088] Correctly implement close() vs. shutdown(), Simon Goldschmidt, 2010/02/20
- [lwip-devel] [task #10088] Correctly implement close() vs. shutdown(), Simon Goldschmidt, 2010/02/20
- [lwip-devel] [task #10088] Correctly implement close() vs. shutdown(), Simon Goldschmidt, 2010/02/20
- [lwip-devel] [task #10088] Correctly implement close() vs. shutdown(), Kieran Mansley, 2010/02/22
- [lwip-devel] [task #10088] Correctly implement close() vs. shutdown(), Simon Goldschmidt, 2010/02/22