summaryrefslogtreecommitdiff
path: root/src/ot_http.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ot_http.c')
-rw-r--r--src/ot_http.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ot_http.c b/src/ot_http.c
index cc11366..1b8f5ef 100644
--- a/src/ot_http.c
+++ b/src/ot_http.c
@@ -343,8 +343,8 @@ static ssize_t http_handle_stats(const int64_t sock, struct ot_workstruct *ws, c
343 343
344 if (mode == TASK_STATS_TPB) { 344 if (mode == TASK_STATS_TPB) {
345#ifdef WANT_RESTRICT_FULLSCRAPE 345#ifdef WANT_RESTRICT_FULLSCRAPE
346 if (!accesslist_is_blessed(cookie->ip, OT_PERMISSION_MAY_FULLSCRAPE)) 346 if (!accesslist_is_blessed(cookie->ip, OT_PERMISSION_MAY_FULLSCRAPE))
347 HTTPERROR_403_IP; 347 HTTPERROR_403_IP;
348#endif 348#endif
349#ifdef WANT_COMPRESSION_GZIP 349#ifdef WANT_COMPRESSION_GZIP
350 ws->request[ws->request_size - 1] = 0; 350 ws->request[ws->request_size - 1] = 0;