lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #44595] netconn_recv does not set last_err on CLOSE_WA


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #44595] netconn_recv does not set last_err on CLOSE_WAIT
Date: Fri, 20 Mar 2015 21:04:33 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.89 Safari/537.36

Follow-up Comment #1, bug #44595 (project lwip):

The problem of not setting last_err actually got worse with my last cleanup of
fixing race conditions in that area. I've decided to prefer fixing race
conditions over setting last_err and discussing the arising problems
seperately (like here :)

The problematic calls are recv and accept, as these are done in the
application thread, not in the tcpip_thread.

The problem is that we have to watch out for race conditions when writing to
last_err, expecially when writing an err_t that is marked FATAL. (I have to
admit though that I never fully got the FATAL thing...)

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?44595>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.nongnu.org/




reply via email to

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