diff options
| author | 2019-09-10 18:28:50 +0100 | |
|---|---|---|
| committer | 2019-09-10 18:28:50 +0100 | |
| commit | 5d6b2ff083142f71e845d3f543fee8e6f70f6fd2 (patch) | |
| tree | f25e044bb6626674e2b46a8188e35e41ac967fbf | |
| parent | '_prepare_actitivy' -> '_prepare_activity' (diff) | |
| signature | ||
call self.finish() in rest_api.py in hopes it will force-close connections
| -rw-r--r-- | modules/rest_api.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/rest_api.py b/modules/rest_api.py index d649bb4d..20e9455a 100644 --- a/modules/rest_api.py +++ b/modules/rest_api.py @@ -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], |
