[Top][All Lists]

[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:


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]