aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2019-09-10 18:33:14 +0100
committerGravatar jesopo2019-09-10 18:33:14 +0100
commitbe6f875e25efce2d628fc6d18fbb99f8d1d58614 (patch)
treeaf6070638adc5350d50d0841712d30803c2179bc /modules
parentcall self.finish() in rest_api.py in hopes it will force-close connections (diff)
signature
Revert "call self.finish() in rest_api.py in hopes it will force-close connections"
This reverts commit 5d6b2ff083142f71e845d3f543fee8e6f70f6fd2.
Diffstat (limited to 'modules')
-rw-r--r--modules/rest_api.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/rest_api.py b/modules/rest_api.py
index 20e9455a..d649bb4d 100644
--- a/modules/rest_api.py
+++ b/modules/rest_api.py
@@ -141,7 +141,6 @@ class Handler(http.server.BaseHTTPRequestHandler):
response = _bot.trigger(lambda: self._handle(method, path, endpoint,
args))
self._respond(response)
- self.finish()
_log.debug("[HTTP] finishing _handle for %s from %s:%d (%d)",
[method, self.client_address[0], self.client_address[1],