A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix a vicious bug: TCP socket use a buffer and read operation get as much data as...
[simgrid.git]
/
src
/
gras
/
Transport
/
transport.c
diff --git
a/src/gras/Transport/transport.c
b/src/gras/Transport/transport.c
index
476780f
..
aff786e
100644
(file)
--- a/
src/gras/Transport/transport.c
+++ b/
src/gras/Transport/transport.c
@@
-160,6
+160,7
@@
void gras_trp_socket_new(int incoming,
sock->meas = 0;
sock->recv_ok = 1;
sock->valid = 1;
+ sock->moredata = 0;
sock->sd = -1;
sock->port = -1;