]> arthur.barton.de Git - netdata.git/blobdiff - src/web_client.h
Merge pull request #1809 from ktsaou/master
[netdata.git] / src / web_client.h
index 8db1bae5237ebb1e43005646df34a2ef6cc66494..76284e590fe5007ccecbed0faca45296185c74ad 100644 (file)
@@ -5,9 +5,14 @@
 extern int web_client_timeout;
 
 #ifdef NETDATA_WITH_ZLIB
-extern int web_enable_gzip, web_gzip_level, web_gzip_strategy, web_donotrack_comply;
+extern int web_enable_gzip,
+        web_gzip_level,
+        web_gzip_strategy;
 #endif /* NETDATA_WITH_ZLIB */
 
+extern int respect_web_browser_do_not_track_policy;
+extern char *web_x_frame_options;
+
 #define WEB_CLIENT_MODE_NORMAL      0
 #define WEB_CLIENT_MODE_FILECOPY    1
 #define WEB_CLIENT_MODE_OPTIONS     2
@@ -34,7 +39,7 @@ struct response {
     Bytef zbuffer[ZLIB_CHUNK];      // temporary buffer for storing compressed output
     size_t zsent;                   // the compressed bytes we have sent to the client
     size_t zhave;                   // the compressed bytes that we have received from zlib
-    int zinitialized;
+    int zinitialized:1;
 #endif /* NETDATA_WITH_ZLIB */
 
 };