[<prev] [next>] [day] [month] [year] [list]
Message-ID: <45219fb00703120751t7acd1ae3kb77f556b81a87634@mail.gmail.com>
Date: Mon, 12 Mar 2007 15:51:19 +0100
From: "Lluís Batlle" <viriketo@...il.com>
To: linux-kernel@...r.kernel.org
Subject: bug in select() in linux
Hello,
I've found a problem in the select() call. The manpage states:
"those in writefds will be watched to see if a write will not block"
I've tried a select() for write against a closed tcp socket (closed by
the other side), and the select call _blocks_.
Any write() call to that socket will _not block_, and will return with EPIPE.
I've seen this happening in 2.4.20 and 2.6.16.29 (xen patched) at least.
Maybe it's a glibc problem - you may know better.
Could you please keep me in carbon copy? I'm not sure I want to
subscribe to LKML.
Regards,
Lluís.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists