Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Detect socket closed by peer in the transport layer, so that such things don't polute...
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 26 Jun 2006 13:57:20 +0000 (13:57 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 26 Jun 2006 13:57:20 +0000 (13:57 +0000)
commitacbc8f35e5a8520356ce5a527971e6685a4e5793
tree6053ce1ae4b6602be590b7f97936120b46b934fa
parent883fca3cce00e333e4970bfb63e0b028188f25db
Detect socket closed by peer in the transport layer, so that such things don't polute the messaging layer. This is done by recv() on the socket, which is not allowed on 'file sockets'. So, add a property to the sockets indicating whether it is ok to recv() on the socket or not, and then use it right after the select to detect dead horses

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2433 48e7efb5-ca39-0410-a469-dd3cf9ba447f
src/gras/Transport/rl_transport.c
src/gras/Transport/transport.c
src/gras/Transport/transport_plugin_file.c
src/gras/Transport/transport_private.h