Mirror of mitogen
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
David Wilson 76caf7d41d issue #320: ignore kqueue events marked KQ_EV_ERROR.
Since BasicStream.close() invokes _stop_transmit() followed by
os.close(), and KqueuePoller._stop_transmit() defers the unsubscription
until the IO loop resumes, kqueue generates an error event for the
associated FD, even though the changelist includes an unsubscription
command for the FD.

We could fix this by deferring close() until after the IO loop has run
once (simply by calling .defer()), but that generates extra wakeups for
no real reason.

Instead simply notice the error event and log it, rather than treating
it as a legitimate event.

Another approach to fixing this would be to process
_stop_receive()/_stop_transmit() eagerly, however that entails making
more syscalls.

Closes #320.
8 years ago
.travis Updated Travis Config to use Ansible 2.6.1, Added build status in readme 8 years ago
ansible_mitogen issue #309: fix environment cleanup regression. 8 years ago
docs Updated readme with build status, updated docs 8 years ago
examples examples: fix mitogen-fuse on 2.x. 8 years ago
mitogen issue #320: ignore kqueue events marked KQ_EV_ERROR. 8 years ago
tests issue #309: fix environment cleanup regression. 8 years ago
.gitignore docs: fix intensely annoying _prefix, 2 years later. 8 years ago
.lgtm.yml compat: ignore LGTM checks on third party 8 years ago
.travis.yml Updated Travis Config to use Ansible 2.6.1, Added build status in readme 8 years ago
LICENSE Add license text everywhere. 8 years ago
README.md commented out travis badge 8 years ago
dev_requirements.txt Updated Travis Config to use Ansible 2.6.1, Added build status in readme 8 years ago
preamble_size.py Initial Python 3.x port work. 8 years ago
run_tests Record ulimit -a in run_test output. 8 years ago
setup.cfg Ignore another annoying flake8 message. 8 years ago
setup.py Update trove classifiers. 8 years ago
tox.ini Fix invocation of test runner by tox 8 years ago

README.md