Commit b3693eca authored by ibuler's avatar ibuler

[Update] 修复child shutdown可能的bug

parent f8a3846f
...@@ -267,7 +267,7 @@ class WSProxy: ...@@ -267,7 +267,7 @@ class WSProxy:
try: try:
self.child.shutdown(1) self.child.shutdown(1)
self.child.close() self.child.close()
except OSError: except (OSError, EOFError):
pass pass
logger.debug("Proxy {} closed".format(self)) logger.debug("Proxy {} closed".format(self))
......
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