Revert "call self.finish() in rest_api.py in hopes it will force-close connections"

This reverts commit 5d6b2ff083.
This commit is contained in:
jesopo 2019-09-10 18:33:14 +01:00
parent 5d6b2ff083
commit be6f875e25

View file

@ -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],