[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #50088] socket/netconn: data before RST should be read
From: |
Tim Cussins |
Subject: |
[lwip-devel] [bug #50088] socket/netconn: data before RST should be readable |
Date: |
Tue, 30 May 2017 05:33:54 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:53.0) Gecko/20100101 Firefox/53.0 |
Follow-up Comment #2, bug #50088 (project lwip):
Hi Simon,
I got a git head version of LWiP working, and have just tried this out.
With a bunch of LWiP debugging enabled, I can see the server's data arriving,
then 2 further packets with RST set.
When I call lwip_recv(), I get ECONNRESET, rather than any buffered bytes.
Is this what you'd expect? Should I be enabling a particular complile-time
option to get different behaviour, or using some other technique?
In short: What socket-layer calls should I make in order to read the data that
arrived before RST.
Thanks,
Tim
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?50088>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #50088] socket/netconn: data before RST should be readable,
Tim Cussins <=