call self.finish() in rest_api.py in hopes it will force-close connections
This commit is contained in:
parent
1dfb3c4461
commit
5d6b2ff083
1 changed files with 1 additions and 0 deletions
|
@ -141,6 +141,7 @@ 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],
|
||||
|
|
Loading…
Reference in a new issue