diff options
| author | 2019-09-10 18:33:14 +0100 | |
|---|---|---|
| committer | 2019-09-10 18:33:14 +0100 | |
| commit | be6f875e25efce2d628fc6d18fbb99f8d1d58614 (patch) | |
| tree | af6070638adc5350d50d0841712d30803c2179bc | |
| parent | call 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.
| -rw-r--r-- | modules/rest_api.py | 1 |
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], |
