community.general/lib/ansible/plugins/connection
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
..
__init__.py Enable setting options for cliconf and other implementation plugins (if set to configurable) (#43368) 2018-07-30 21:53:44 -07:00
buildah.py Port ansible doc for plugins to use DOCUMENTATION variables 2017-09-11 18:34:09 -07:00
chroot.py ensure 'home' translations (#36755) 2018-04-11 11:53:05 -04:00
docker.py use docker exec in case docker cp failed. (#26571) 2017-12-13 15:30:30 -06:00
funcd.py Config continued (#31024) 2017-11-16 13:49:57 -05:00
httpapi.py httpapi: Split off and save response text contents (#43305) 2018-07-26 10:12:34 -04:00
iocage.py Python 2.6 str.format() compatibility fixes. 2018-01-10 14:08:11 -08:00
jail.py allow become methods for Jail connection plugin (#31746) 2018-05-07 21:30:24 -04:00
kubectl.py Add K8s inventory plugin (#34920) 2018-01-20 08:50:01 -05:00
libvirt_lxc.py ensure 'home' translations (#36755) 2018-04-11 11:53:05 -04:00
local.py Port ansible doc for plugins to use DOCUMENTATION variables 2017-09-11 18:34:09 -07:00
lxc.py Correct defaults in lxc and lxd connection plugin 2018-06-19 15:45:18 -04:00
lxd.py Correct defaults in lxc and lxd connection plugin 2018-06-19 15:45:18 -04:00
netconf.py Fix ini variables for netconf and network_cli connections (#43599) 2018-08-02 21:08:51 +05:30
network_cli.py Fix ini variables for netconf and network_cli connections (#43599) 2018-08-02 21:08:51 +05:30
oc.py Add K8s inventory plugin (#34920) 2018-01-20 08:50:01 -05:00
paramiko_ssh.py Fix typo 2018-08-10 01:34:23 +02:00
persistent.py Prevent data being truncated over persistent connection socket (#43885) 2018-08-10 09:26:58 -04:00
saltstack.py Port ansible doc for plugins to use DOCUMENTATION variables 2017-09-11 18:34:09 -07:00
ssh.py ssh - skip connection reset if controlpath does not exist (#43062) 2018-07-24 08:20:54 +10:00
winrm.py changed winrm _reset to reset and make ssh reset show warning (#42651) 2018-07-11 20:22:01 -07:00
zone.py typo fix (#33810) 2017-12-12 12:25:53 +00:00