Commit 7db000a3 authored by Jim Fulton's avatar Jim Fulton

Removed code to reraise a ECONNRESET socket exception. I don't see

any reason to reraise this.  all we really care about is that we were
able to connect. This was causing spurious errors during tear down.
parent 6a44b280
...@@ -190,8 +190,6 @@ def shutdown_zeo_server(adminaddr): ...@@ -190,8 +190,6 @@ def shutdown_zeo_server(adminaddr):
try: try:
ack = s.recv(1024) ack = s.recv(1024)
except socket.error, e: except socket.error, e:
if e[0] == errno.ECONNRESET:
raise
ack = 'no ack received' ack = 'no ack received'
logger.debug('shutdown_zeo_server(): acked: %s' % ack) logger.debug('shutdown_zeo_server(): acked: %s' % ack)
s.close() s.close()
......
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