ansible/test/units/plugins/connection
Bob Weinand f200487414
Fix filedescriptor out of range in select() when running commands (#65058)
* Fix filedescriptor out of range in select() when running commands

* Simplify the run_command() code

Now that we're using selectors in run_command(), we can simplify some of
the code.

* Use fileobj.read() instead of os.read()
* No longer use get_buffer_size() as we can just slurp all of the data
  instead.

Also use a simpler conditional check of whether the selector map is
empty

Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
2020-05-14 11:46:34 -04:00
..
__init__.py
test_connection.py Split test_connection into individual files 2020-03-05 14:08:38 -08:00
test_local.py Split test_connection into individual files 2020-03-05 14:08:38 -08:00
test_paramiko.py Split test_connection into individual files 2020-03-05 14:08:38 -08:00
test_psrp.py
test_ssh.py Fix filedescriptor out of range in select() when running commands (#65058) 2020-05-14 11:46:34 -04:00
test_winrm.py