Show More
@@ -472,7 +472,15 b' class unixforkingservice(object):' | |||
|
472 | 472 | # waiting for recv() will receive ECONNRESET. |
|
473 | 473 | self._unlinksocket() |
|
474 | 474 | exiting = True |
|
475 | try: | |
|
475 | 476 | ready = selector.select(timeout=h.pollinterval) |
|
477 | except OSError as inst: | |
|
478 | # selectors2 raises ETIMEDOUT if timeout exceeded while | |
|
479 | # handling signal interrupt. That's probably wrong, but | |
|
480 | # we can easily get around it. | |
|
481 | if inst.errno != errno.ETIMEDOUT: | |
|
482 | raise | |
|
483 | ready = [] | |
|
476 | 484 | if not ready: |
|
477 | 485 | # only exit if we completed all queued requests |
|
478 | 486 | if exiting: |
General Comments 0
You need to be logged in to leave comments.
Login now