[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #28853] recv() returns 0 on receive time-out / any net
From: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [bug #28853] recv() returns 0 on receive time-out / any netconn_recv() error |
Date: |
Tue, 09 Feb 2010 20:18:49 +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 #3, bug #28853 (project lwip):
> actually my patch is wrong because it returns -1 on close.
I just noticed that, too when writing a test for it. Seems I have been too
fast checking in the fix ;-)
> on receive time-out, netconn_recv() returns ERR_TIMEOUT (which is a fatal
error !)
It's not (any more? I think I changed that some time ago...). I've fixed
err_to_errno_table to convert ERR_TIMEOUT to EWOULDBLOCK. Thanks for finding
that, too!
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?28853>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/