projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- implementation for mantis 0002485
[oweals/gnunet.git]
/
src
/
transport
/
plugin_transport_http_server.c
diff --git
a/src/transport/plugin_transport_http_server.c
b/src/transport/plugin_transport_http_server.c
index 4b4f50442066de1401d8a96f6bdeeed4b3b32025..8ac301341a966e6f0f8ade82f85ee79722b32c63 100644
(file)
--- 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,
if (sc->direction == _SEND)
{
response =
if (sc->direction == _SEND)
{
response =
- MHD_create_response_from_callback (-1, 32 * 1024, &server_send_callback,
- s, NULL);
+ MHD_create_response_from_callback (MHD_SIZE_UNKNOWN,
+ 32 * 1024,
+ &server_send_callback, s,
+ NULL);
MHD_queue_response (mhd_connection, MHD_HTTP_OK, response);
MHD_destroy_response (response);
return MHD_YES;
MHD_queue_response (mhd_connection, MHD_HTTP_OK, response);
MHD_destroy_response (response);
return MHD_YES;