Merge pull request #2475 from imachug/gevent-ws-fix2
Disable process_result on websocket requests
This commit is contained in:
commit
f749228a2c
1 changed files with 5 additions and 0 deletions
|
@ -254,3 +254,8 @@ class WebSocketHandler(WSGIHandler):
|
|||
finally:
|
||||
self.time_finish = time.time()
|
||||
self.log_request()
|
||||
|
||||
|
||||
def process_result(self):
|
||||
if "wsgi.websocket" not in self.environ:
|
||||
super(WebSocketHandler, self).process_result()
|
||||
|
|
Loading…
Reference in a new issue