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
Marc Hartmayer 8807cd53be mitogen: first_stage: Break the while loop in case of EOF
The current implementation can cause an infinite loop, leading to a process that
hangs and consumes 100% CPU. This occurs because the EOF condition is not
handled properly, resulting in repeated select(...) and read(...) calls.

The fix is to properly handle the EOF condition and break out of the loop when
it occurs.

-SSH command size: 822
+SSH command size: 838
 Preamble (mitogen.core + econtext) size: 18226 (17.80KiB)

-mitogen.parent        99062  96.7KiB  51235 50.0KiB 51.7%  12936 12.6KiB 13.1%
+mitogen.parent        99240  96.9KiB  51244 50.0KiB 51.6%  12956 12.7KiB 13.1%

Fixes: https://github.com/mitogen-hq/mitogen/issues/1348
Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com>
1 week ago
.ci CI: Add OS release coverage: Ubuntu 22.04, Ubuntu 24.04 4 weeks ago
.github CI: Bump deprecated macOS 13 runner to macOS 15 1 month ago
ansible_mitogen ansible_mitogen: Remove a use of ansible.module_utils.six 3 weeks ago
docs mitogen: first_stage: Break the while loop in case of EOF 1 week ago
examples Remove get_password_hash, unused 1 year ago
mitogen mitogen: first_stage: Break the while loop in case of EOF 1 week ago
scripts add Python3 compatibility 2 years ago
tests first_stage_test: Add more tests 1 week ago
.gitignore ci: Add playbook to configure container host for image prep 1 month ago
LICENSE Bump copyright year and use generic author name (testing Travis) 5 years ago
MANIFEST.in setup.py: include LICENSE; closes #538. 7 years ago
README.md CI: Remove integration of retired lgtm.com 1 month ago
dev_requirements.txt Split dev_requirements.txt up according to test mode. 7 years ago
netlify.toml docs: Attempt to configure Netlify build of mitogen.networkgenomics.com 12 months ago
preamble_size.py preamble_size: Fix variability of command & preamble(?) size 4 months ago
run_tests tests: Remove unittest2, use stdlib unittest 4 years ago
setup.cfg Keep comatibility with `setuptools` tagging wheels with `py2.py3` 6 months ago
setup.py mitogen: Re-declare Python 2.4 compatibility 3 weeks ago
tox.ini docs: Document Ansible 13 (ansible-core 2.20) support 3 weeks ago

README.md