Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
The fact that peer closed the socket should be detected right after the select()...
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 27 Jun 2006 21:20:11 +0000 (21:20 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 27 Jun 2006 21:20:11 +0000 (21:20 +0000)
commite1a2b99c9a458df65df7d91e6290a474694ac6bd
tree349f74102939f59c4675acad68f0da3425afdbc7
parent8ee70b668c07f312f934575c35d8905dc27775cd
The fact that peer closed the socket should be detected right after the select(). If we see it here, there was a problem. So, raise the exception in any case to allow messaging layer to react sainly to it (right now, the receiver would go into an infinite loop when the sender dies between the header send and the body send)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2455 48e7efb5-ca39-0410-a469-dd3cf9ba447f
src/gras/Transport/transport_plugin_tcp.c