Fix wsgi bug
Today we cannot exit normally from glare app. This patch should fix that. Change-Id: Icd236bd995ef3b391a95a2a9a5f2bdd068d0902b
This commit is contained in:
parent
515cae2bad
commit
0626284d54
@ -433,7 +433,7 @@ class Server(object):
|
||||
keepalive=CONF.http_keepalive,
|
||||
socket_timeout=self.client_socket_timeout)
|
||||
except socket.error as err:
|
||||
if err[0] != errno.EINVAL:
|
||||
if err.args[0] != errno.EINVAL:
|
||||
raise
|
||||
|
||||
# waiting on async pools
|
||||
|
Loading…
Reference in New Issue
Block a user