Module: check_mk
Branch: master
Commit: 2b72ae47df617ceb93ab98386173422459694619
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2b72ae47df617c…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed May 16 15:27:16 2018 +0200
Removed the now useless config option "Buffered HTTP stream"
Change-Id: I42174b57b11d9999809e1d09ee86be9ef655bf33
---
web/htdocs/htmllib.py | 6 ------
web/htdocs/http.py | 4 ----
web/plugins/config/builtin.py | 3 ---
web/plugins/wato/check_mk_configuration.py | 12 ------------
4 files changed, 25 deletions(-)
diff --git a/web/htdocs/htmllib.py b/web/htdocs/htmllib.py
index 3404c76..c0f8a9d 100644
--- a/web/htdocs/htmllib.py
+++ b/web/htdocs/htmllib.py
@@ -1121,7 +1121,6 @@ class html(HTMLGenerator):
# Settings
self.mobile = False
- self.buffering = True
# Forms
self.form_name = None
@@ -1173,7 +1172,6 @@ class html(HTMLGenerator):
self._init_screenshot_mode()
self._init_debug_mode()
- self.set_buffering(config.buffered_http_stream)
def _verify_not_using_threaded_mpm(self):
@@ -1527,10 +1525,6 @@ class html(HTMLGenerator):
self.page_context = c
- def set_buffering(self, b):
- self.buffering = b
-
-
def set_link_target(self, framename):
self.link_target = framename
diff --git a/web/htdocs/http.py b/web/htdocs/http.py
index 9f5abd0..e18cfd8 100644
--- a/web/htdocs/http.py
+++ b/web/htdocs/http.py
@@ -420,10 +420,6 @@ class Response(object):
def write(self, text):
"""Extend the response body with the given text"""
- # TODO
- #if self.buffering:
- # self.req.write(text, 0)
- #else:
self._output.append(text)
diff --git a/web/plugins/config/builtin.py b/web/plugins/config/builtin.py
index e66a917..f310b5c 100644
--- a/web/plugins/config/builtin.py
+++ b/web/plugins/config/builtin.py
@@ -230,9 +230,6 @@ default_ts_format = 'mixed'
# always all buttons to be shown
context_buttons_to_show = 5
-# Buffering of HTML output stream
-buffered_http_stream = True
-
# Maximum livetime of unmodified selections
selection_livetime = 3600
diff --git a/web/plugins/wato/check_mk_configuration.py
b/web/plugins/wato/check_mk_configuration.py
index c9a41f2..de9ea03 100644
--- a/web/plugins/wato/check_mk_configuration.py
+++ b/web/plugins/wato/check_mk_configuration.py
@@ -140,18 +140,6 @@ register_configvar(group,
register_configvar(group,
- "buffered_http_stream",
- Checkbox(title = _("Buffered HTTP stream"),
- label = _("enable buffering"),
- help = _("When buffering the HTTP stream is enabled, then Multisite
"
- "will not send single TCP segments for each particle of HTML
"
- "output but try to make larger segments. This saves bandwidth
"
- "especially when using HTTPS. On the backside there might be
"
- "a higher latency for the beginning of pages being
displayed."),
- ),
- domain = "multisite")
-
-register_configvar(group,
"selection_livetime",
Integer(
title = _('Checkbox Selection Livetime'),