diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-09-21 10:43:22 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-09-21 10:43:22 +0200 |
commit | a9f01707ad64fc554077ca109ba03128ed8294be (patch) | |
tree | a2dbd07b39e5a4a38db501050dbd2c01fd8f83ec /src/mint/taler-mint-httpd_mhd.c | |
parent | 49d8426cf444daaf97c195096c5f59bf010b16d0 (diff) | |
download | exchange-a9f01707ad64fc554077ca109ba03128ed8294be.tar.xz |
add option -C to force closing of connections
Diffstat (limited to 'src/mint/taler-mint-httpd_mhd.c')
-rw-r--r-- | src/mint/taler-mint-httpd_mhd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mint/taler-mint-httpd_mhd.c b/src/mint/taler-mint-httpd_mhd.c index b4e3c1f60..419c4fb04 100644 --- a/src/mint/taler-mint-httpd_mhd.c +++ b/src/mint/taler-mint-httpd_mhd.c @@ -65,6 +65,7 @@ TMH_MHD_handler_static_response (struct TMH_RequestHandler *rh, GNUNET_break (0); return MHD_NO; } + TMH_RESPONSE_add_global_headers (response); if (NULL != rh->mime_type) (void) MHD_add_response_header (response, MHD_HTTP_HEADER_CONTENT_TYPE, @@ -108,6 +109,7 @@ TMH_MHD_handler_agpl_redirect (struct TMH_RequestHandler *rh, GNUNET_break (0); return MHD_NO; } + TMH_RESPONSE_add_global_headers (response); if (NULL != rh->mime_type) (void) MHD_add_response_header (response, MHD_HTTP_HEADER_CONTENT_TYPE, |