[Top][All Lists]

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

[lwip-devel] [bug #12592] write in CLOSE_WAIT possible but should return

From: Jonathan Larmour
Subject: [lwip-devel] [bug #12592] write in CLOSE_WAIT possible but should return ESHUTDOWN
Date: Mon, 26 Feb 2007 14:45:31 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20061221 Fedora/ Firefox/

Follow-up Comment #2, bug #12592 (project lwip):

It wasn't me that posted this bug, but I can see what's proposed. If writing
to a TCP connection already in the CLOSE_WAIT state, ERR_CONN is returned,
equivalent to ENOTCONN in BSD sockets. The patch wants to return ESHUTDOWN
instead (although the patch is incorrect and should return ERR_CLSD if it
wants that behaviour) in that case. This would indeed be the strictly correct
error code.

Incidentally, it's impossible to have dialogue with anonymous submitters - is
allowing anonymous submissions perhaps an option that could be turned off?


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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