X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/13bf534d2abb679d945719b02071e03c38d64b63..a9af1b0795c4a75f8919d7a87491fe7ab041b272:/src/gras/Transport/transport_plugin_tcp.c diff --git a/src/gras/Transport/transport_plugin_tcp.c b/src/gras/Transport/transport_plugin_tcp.c index a4db1b640a..b92dccc722 100644 --- a/src/gras/Transport/transport_plugin_tcp.c +++ b/src/gras/Transport/transport_plugin_tcp.c @@ -338,6 +338,8 @@ gras_trp_tcp_recv_withbuffer(gras_socket_t sock, got); } } + /* indicate to the gras_select function that there is more to read on this socket so that it does not actually select */ + sock->moredata = (bufsize != 0); return got; }