projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
353e880
)
-fix shutdown of server
author
Christian Grothoff
<christian@grothoff.org>
Thu, 19 Apr 2012 19:36:30 +0000
(19:36 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Thu, 19 Apr 2012 19:36:30 +0000
(19:36 +0000)
src/util/server.c
patch
|
blob
|
history
diff --git
a/src/util/server.c
b/src/util/server.c
index fc96db80264cabda1757992eea439c47b51e432b..5a2eee28d517e0e1ff7c8c1074621eadc22d93e4 100644
(file)
--- a/
src/util/server.c
+++ b/
src/util/server.c
@@
-1221,6
+1221,8
@@
GNUNET_SERVER_client_disconnect (struct GNUNET_SERVER_Client *client)
if (client->persist == GNUNET_YES)
GNUNET_CONNECTION_persist_ (client->connection);
+ if (NULL != client->th.cth)
+ GNUNET_SERVER_notify_transmit_ready_cancel (&client->th);
GNUNET_CONNECTION_destroy (client->connection);
if (client->server->mst_destroy != NULL)