aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_http_server.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-06-12 12:53:28 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-06-12 12:53:28 +0000
commitcc0eff2054ed7d4eaaf4318b5bdc1688ed6af3e9 (patch)
tree432f51c1ff125dc05dcf03b4fd80effa289b22e8 /src/transport/plugin_transport_http_server.c
parent0bdbba19b1b81dd177eb72e9e5c01aaf99e59c02 (diff)
downloadgnunet-cc0eff2054ed7d4eaaf4318b5bdc1688ed6af3e9.tar.gz
gnunet-cc0eff2054ed7d4eaaf4318b5bdc1688ed6af3e9.zip
- fix
Diffstat (limited to 'src/transport/plugin_transport_http_server.c')
-rw-r--r--src/transport/plugin_transport_http_server.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_http_server.c b/src/transport/plugin_transport_http_server.c
index 4b4f50442..8ac301341 100644
--- a/src/transport/plugin_transport_http_server.c
+++ b/src/transport/plugin_transport_http_server.c
@@ -661,8 +661,10 @@ server_access_cb (void *cls, struct MHD_Connection *mhd_connection,
661 if (sc->direction == _SEND) 661 if (sc->direction == _SEND)
662 { 662 {
663 response = 663 response =
664 MHD_create_response_from_callback (-1, 32 * 1024, &server_send_callback, 664 MHD_create_response_from_callback (MHD_SIZE_UNKNOWN,
665 s, NULL); 665 32 * 1024,
666 &server_send_callback, s,
667 NULL);
666 MHD_queue_response (mhd_connection, MHD_HTTP_OK, response); 668 MHD_queue_response (mhd_connection, MHD_HTTP_OK, response);
667 MHD_destroy_response (response); 669 MHD_destroy_response (response);
668 return MHD_YES; 670 return MHD_YES;