close_ignoring_EPIPE can trigger IOError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-oops-amqp |
Fix Released
|
High
|
Robert Collins |
Bug Description
Traceback (most recent call last):
File "bin/amqp2disk", line 49, in <module>
oopstools.
File "src/oopstools/
receiver.
File "eggs/oops_
self.
File "eggs/oops_
close_
File "eggs/oops_
return closable.close()
File "eggs/amqplib-
(10, 61), # Connection.close_ok
File "eggs/amqplib-
self.
File "eggs/amqplib-
self.
File "eggs/amqplib-
raise m
IOError: Socket closed
This can cause the consumer to die inappropriately during rabbit restarts.
Related branches
- j.c.sackett (community): Approve
-
Diff: 104 lines (+16/-12)5 files modifiedNEWS (+3/-0)
oops_amqp/receiver.py (+3/-3)
oops_amqp/tests/__init__.py (+3/-3)
oops_amqp/tests/test_publisher.py (+1/-1)
oops_amqp/utils.py (+6/-5)
description: | updated |
summary: |
- close_ignoring_EPIP can trigger IOError + close_ignoring_EPIPE can trigger IOError |
Changed in python-oops-amqp: | |
status: | Triaged → Fix Released |
assignee: | nobody → Robert Collins (lifeless) |