struct GNUNET_TIME_Relative timeout);
-/**
- * Set if a client should finish a pending write when disconnecting.
- */
-void
-GNUNET_SERVER_client_set_finish_pending_write (struct GNUNET_SERVER_Client *client,
- int finish);
-
-
/**
* Disable the warning the server issues if a message is not acknowledged
* in a timely fashion. Use this call if a client is intentionally delayed
}
-void
-GNUNET_SERVER_client_set_finish_pending_write (struct GNUNET_SERVER_Client *client,
- int finish)
-{
- client->finish_pending_write = finish;
-}
-
-
/**
* Notify the server that the given client handle should
* be kept (keeps the connection up if possible, increments
if (client->persist == GNUNET_YES)
GNUNET_CONNECTION_persist_ (client->connection);
- GNUNET_CONNECTION_destroy (client->connection, client->finish_pending_write);
+ GNUNET_CONNECTION_destroy (client->connection, GNUNET_NO);
if (client->server->mst_destroy != NULL)
client->server->mst_destroy (client->server->mst_cls, client->mst);