aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/server.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/util/server.c b/src/util/server.c
index dc8b402da..9f3d8929c 100644
--- a/src/util/server.c
+++ b/src/util/server.c
@@ -1000,14 +1000,6 @@ GNUNET_SERVER_client_set_timeout (struct GNUNET_SERVER_Client *client,
1000} 1000}
1001 1001
1002 1002
1003void
1004GNUNET_SERVER_client_set_finish_pending_write (struct GNUNET_SERVER_Client *client,
1005 int finish)
1006{
1007 client->finish_pending_write = finish;
1008}
1009
1010
1011/** 1003/**
1012 * Notify the server that the given client handle should 1004 * Notify the server that the given client handle should
1013 * be kept (keeps the connection up if possible, increments 1005 * be kept (keeps the connection up if possible, increments
@@ -1202,7 +1194,7 @@ GNUNET_SERVER_client_disconnect (struct GNUNET_SERVER_Client *client)
1202 1194
1203 if (client->persist == GNUNET_YES) 1195 if (client->persist == GNUNET_YES)
1204 GNUNET_CONNECTION_persist_ (client->connection); 1196 GNUNET_CONNECTION_persist_ (client->connection);
1205 GNUNET_CONNECTION_destroy (client->connection, client->finish_pending_write); 1197 GNUNET_CONNECTION_destroy (client->connection, GNUNET_NO);
1206 1198
1207 if (client->server->mst_destroy != NULL) 1199 if (client->server->mst_destroy != NULL)
1208 client->server->mst_destroy (client->server->mst_cls, client->mst); 1200 client->server->mst_destroy (client->server->mst_cls, client->mst);