Message128941
asyncore.py: poll2() :
--------------------
if flags:
# Only check for exceptions if object was either readable
# or writable.
flags |= select.POLLERR | select.POLLHUP | select.POLLNVAL
pollster.register(fd, flags)
--------------------
This is unexpected behaviour. Why descriptor does not get polled if neither read nor write selected ? So I can not track dropping of connection if I do not want neither read nor write. I think "if flags:" should be removed. |
|
Date |
User |
Action |
Args |
2011-02-21 05:54:32 | socketpair | set | recipients:
+ socketpair |
2011-02-21 05:54:32 | socketpair | set | messageid: <1298267672.06.0.624805045141.issue11267@psf.upfronthosting.co.za> |
2011-02-21 05:54:31 | socketpair | link | issue11267 messages |
2011-02-21 05:54:31 | socketpair | create | |
|