[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [task #14395] recv of short buffer should eventually time o
From: |
David van Moolenbroek |
Subject: |
[lwip-devel] [task #14395] recv of short buffer should eventually time out |
Date: |
Thu, 2 Mar 2017 08:28:32 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0 |
Follow-up Comment #1, task #14395 (project lwip):
FWIW! After looking into this I decided to disregard the PSH flag in my
implementation altogether, instead always returning only whatever is available
when anything is available at all (modulo MSG_WAITALL, SO_RCVLOWAT etc). My
PoV is that while not considering the PSH flag may cause performance issues,
not returning available data may cause correctness issues. As far as I can
tell, the BSDs and Linux also follow the same behavior (ie no timeout), but
don't quote me on that! On Windows it appears there's a 0.5sec timeout which,
as can be expected, causes problems in some scenarios:
http://smallvoid.com/article/winnt-tcp-push-flag.htm
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/task/?14395>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [task #14395] recv of short buffer should eventually time out, Simon Goldschmidt, 2017/03/02
- [lwip-devel] [task #14395] recv of short buffer should eventually time out,
David van Moolenbroek <=
- [lwip-devel] [task #14395] recv of short buffer should eventually time out, Simon Goldschmidt, 2017/03/02
- [lwip-devel] [task #14395] recv of short buffer should eventually time out, David van Moolenbroek, 2017/03/02
- [lwip-devel] [task #14395] recv of short buffer should eventually time out, David van Moolenbroek, 2017/03/02
- [lwip-devel] [task #14395] recv of short buffer should eventually time out, Joel Cunningham, 2017/03/02
- [lwip-devel] [task #14395] recv of short buffer should eventually time out, Simon Goldschmidt, 2017/03/02
- [lwip-devel] [task #14395] recv of short buffer should eventually time out, Joel Cunningham, 2017/03/02
- [lwip-devel] [task #14395] recv of short buffer should eventually time out, Simon Goldschmidt, 2017/03/02
- Re: [lwip-devel] [task #14395] recv of short buffer should eventually time out, address@hidden, 2017/03/02
- Re: [lwip-devel] [task #14395] recv of short buffer should eventually time out, Joel Cunningham, 2017/03/02