Commit d59db097 authored by Denis Bilenko's avatar Denis Bilenko

http: do not silent tracebacks for HttpRequestDeleted

parent bce49f58
......@@ -4,7 +4,6 @@ import traceback
from gevent import core
from gevent.greenlet import Greenlet
from gevent.event import Event
from gevent.util import wrap_errors
from gevent.timeout import Timeout
import _socket as socket
......@@ -116,7 +115,7 @@ class HTTPServer(object):
if spawn is None:
self.handle(request)
else:
greenlet = spawn(wrap_errors(core.HttpRequestDeleted, self.handle), request)
greenlet = spawn(self.handle, request)
rawlink = getattr(greenlet, 'rawlink', None)
if rawlink is not None:
greenlet._request = request
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment