1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/lib/ansible/executor
Nathaniel Case f221105882
Prevent data being truncated over persistent connection socket (#43885)
* Change how data is sent to the persistent connection socket.

We can't rely on readline(), so send the size of the data first. We can
then read that many bytes from the stream on the recieving end.

* Set pty to noncanonical mode before sending

* Now that we send data length, we don't need a sentinel anymore

* Copy socket changes to persistent, too

* Use os.write instead of fdopen()ing and using that.

* Follow pickle with sha1sum of pickle

* Swap order of vars and init being passed to ansible-connection
2018-08-10 09:26:58 -04:00
..
process include_role handlers bug fix (#26335) 2017-07-19 15:02:32 -05:00
__init__.py ansible/executor: PEP8 compliancy (#24695) 2017-05-30 18:13:53 +01:00
action_write_locks.py Clarify the comments for action_write_locks 2018-04-26 09:42:18 -07:00
module_common.py Switch to imp.load_module 2018-07-26 20:07:25 -07:00
play_iterator.py Add a helper to PlayIterator to recursively find the active state (#40847) 2018-05-29 15:48:32 -05:00
playbook_executor.py Allow variables to be used in vars_prompt (#32802) 2018-01-05 13:24:20 -06:00
stats.py Provide a way to explicitly invoke the debugger (#34006) 2018-01-09 13:50:07 -06:00
task_executor.py Prevent data being truncated over persistent connection socket (#43885) 2018-08-10 09:26:58 -04:00
task_queue_manager.py nicer error message on multiprocessing fail 2018-08-01 15:14:23 -04:00
task_result.py don't assume all delegation subkeys exist (#43032) 2018-07-24 08:54:58 -04:00