From be6f875e25efce2d628fc6d18fbb99f8d1d58614 Mon Sep 17 00:00:00 2001 From: jesopo Date: Tue, 10 Sep 2019 18:33:14 +0100 Subject: [PATCH] Revert "call self.finish() in rest_api.py in hopes it will force-close connections" This reverts commit 5d6b2ff083142f71e845d3f543fee8e6f70f6fd2. --- modules/rest_api.py | 1 - 1 file changed, 1 deletion(-) 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],