diff options
Diffstat (limited to 'src/transport/tcp_server_legacy.c')
-rw-r--r-- | src/transport/tcp_server_legacy.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/transport/tcp_server_legacy.c b/src/transport/tcp_server_legacy.c index c055285b1..6b4daa525 100644 --- a/src/transport/tcp_server_legacy.c +++ b/src/transport/tcp_server_legacy.c | |||
@@ -1045,7 +1045,7 @@ process_mst (struct GNUNET_SERVER_Client *client, | |||
1045 | GNUNET_STRINGS_relative_time_to_string (client->idle_timeout, GNUNET_YES)); | 1045 | GNUNET_STRINGS_relative_time_to_string (client->idle_timeout, GNUNET_YES)); |
1046 | client->receive_pending = GNUNET_YES; | 1046 | client->receive_pending = GNUNET_YES; |
1047 | GNUNET_CONNECTION_receive (client->connection, | 1047 | GNUNET_CONNECTION_receive (client->connection, |
1048 | GNUNET_SERVER_MAX_MESSAGE_SIZE - 1, | 1048 | GNUNET_MAX_MESSAGE_SIZE - 1, |
1049 | client->idle_timeout, | 1049 | client->idle_timeout, |
1050 | &process_incoming, | 1050 | &process_incoming, |
1051 | client); | 1051 | client); |
@@ -1124,7 +1124,7 @@ process_incoming (void *cls, | |||
1124 | client); | 1124 | client); |
1125 | client->receive_pending = GNUNET_YES; | 1125 | client->receive_pending = GNUNET_YES; |
1126 | GNUNET_CONNECTION_receive (client->connection, | 1126 | GNUNET_CONNECTION_receive (client->connection, |
1127 | GNUNET_SERVER_MAX_MESSAGE_SIZE - 1, | 1127 | GNUNET_MAX_MESSAGE_SIZE - 1, |
1128 | GNUNET_TIME_absolute_get_remaining (end), | 1128 | GNUNET_TIME_absolute_get_remaining (end), |
1129 | &process_incoming, | 1129 | &process_incoming, |
1130 | client); | 1130 | client); |
@@ -1200,7 +1200,7 @@ restart_processing (void *cls) | |||
1200 | LOG (GNUNET_ERROR_TYPE_DEBUG, "Server begins to read again from client.\n"); | 1200 | LOG (GNUNET_ERROR_TYPE_DEBUG, "Server begins to read again from client.\n"); |
1201 | client->receive_pending = GNUNET_YES; | 1201 | client->receive_pending = GNUNET_YES; |
1202 | GNUNET_CONNECTION_receive (client->connection, | 1202 | GNUNET_CONNECTION_receive (client->connection, |
1203 | GNUNET_SERVER_MAX_MESSAGE_SIZE - 1, | 1203 | GNUNET_MAX_MESSAGE_SIZE - 1, |
1204 | client->idle_timeout, | 1204 | client->idle_timeout, |
1205 | &process_incoming, | 1205 | &process_incoming, |
1206 | client); | 1206 | client); |
@@ -1288,7 +1288,7 @@ GNUNET_SERVER_connect_socket (struct GNUNET_SERVER_Handle *server, | |||
1288 | n->callback (n->callback_cls, client); | 1288 | n->callback (n->callback_cls, client); |
1289 | client->receive_pending = GNUNET_YES; | 1289 | client->receive_pending = GNUNET_YES; |
1290 | GNUNET_CONNECTION_receive (client->connection, | 1290 | GNUNET_CONNECTION_receive (client->connection, |
1291 | GNUNET_SERVER_MAX_MESSAGE_SIZE - 1, | 1291 | GNUNET_MAX_MESSAGE_SIZE - 1, |
1292 | client->idle_timeout, | 1292 | client->idle_timeout, |
1293 | &process_incoming, | 1293 | &process_incoming, |
1294 | client); | 1294 | client); |