aboutsummaryrefslogtreecommitdiff
path: root/src/gns
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-04-24 07:04:18 +0000
committerChristian Grothoff <christian@grothoff.org>2015-04-24 07:04:18 +0000
commitfe384d97cdfcb47c10a05f56f983f24619115a19 (patch)
treef4503df3ea08b6e6f329acbbe760f38695e33919 /src/gns
parent3b11f5a4e6e45230994686d292376fac4734c51e (diff)
downloadgnunet-fe384d97cdfcb47c10a05f56f983f24619115a19.tar.gz
gnunet-fe384d97cdfcb47c10a05f56f983f24619115a19.zip
move ARM/config logic to util/ where it doesn't need to cast away a 'const' and is _slightly_ less likely to be forgotten, also add big fat comment to hopefully clarify why it is there
Diffstat (limited to 'src/gns')
-rw-r--r--src/gns/gnunet-gns-proxy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gns/gnunet-gns-proxy.c b/src/gns/gnunet-gns-proxy.c
index d52b3b57f..08cfdf4df 100644
--- a/src/gns/gnunet-gns-proxy.c
+++ b/src/gns/gnunet-gns-proxy.c
@@ -522,7 +522,7 @@ struct Socks5Request
522 * HTTP request headers for the curl request. 522 * HTTP request headers for the curl request.
523 */ 523 */
524 struct curl_slist *headers; 524 struct curl_slist *headers;
525 525
526 /** 526 /**
527 * DNS->IP mappings resolved through GNS 527 * DNS->IP mappings resolved through GNS
528 */ 528 */
@@ -1032,7 +1032,7 @@ curl_check_hdr (void *buffer, size_t size, size_t nmemb, void *cls)
1032 GNUNET_free (cors_hdr); 1032 GNUNET_free (cors_hdr);
1033 } 1033 }
1034 /* force connection to be closed after each request, as we 1034 /* force connection to be closed after each request, as we
1035 do not support HTTP pipelining */ 1035 do not support HTTP pipelining (yet, FIXME!) */
1036 GNUNET_break (MHD_YES == 1036 GNUNET_break (MHD_YES ==
1037 MHD_add_response_header (s5r->response, 1037 MHD_add_response_header (s5r->response,
1038 MHD_HTTP_HEADER_CONNECTION, 1038 MHD_HTTP_HEADER_CONNECTION,