aboutsummaryrefslogtreecommitdiff
path: root/src/util/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/server.c')
-rw-r--r--src/util/server.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/util/server.c b/src/util/server.c
index 33a824e7c..103ca24e7 100644
--- a/src/util/server.c
+++ b/src/util/server.c
@@ -1170,6 +1170,21 @@ GNUNET_SERVER_client_disconnect (struct GNUNET_SERVER_Client *client)
1170 1170
1171 1171
1172/** 1172/**
1173 * Disable the "CORK" feature for communication with the given client,
1174 * forcing the OS to immediately flush the buffer on transmission
1175 * instead of potentially buffering multiple messages.
1176 *
1177 * @param client handle to the client
1178 * @return GNUNET_OK on success
1179 */
1180int
1181GNUNET_SERVER_client_disable_corking (struct GNUNET_SERVER_Client *client)
1182{
1183 return GNUNET_CONNECTION_disable_corking (client->connection);
1184}
1185
1186
1187/**
1173 * Notify us when the server has enough space to transmit 1188 * Notify us when the server has enough space to transmit
1174 * a message of the given size to the given client. 1189 * a message of the given size to the given client.
1175 * 1190 *