mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
oups we should really close on exec the client
This commit is contained in:
parent
354a91ad35
commit
de3792b011
@ -124,7 +124,7 @@ class Worker(object):
|
|||||||
self._fchmod(spinner)
|
self._fchmod(spinner)
|
||||||
|
|
||||||
def handle(self, client, addr):
|
def handle(self, client, addr):
|
||||||
#util.close_on_exec(client)
|
util.close_on_exec(client)
|
||||||
try:
|
try:
|
||||||
req = http.HttpRequest(client, addr, self.address)
|
req = http.HttpRequest(client, addr, self.address)
|
||||||
response = self.app(req.read(), req.start_response)
|
response = self.app(req.read(), req.start_response)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user