]> granicus.if.org Git - curl/commit
ssh_statemach_act: set cselect for sftp upload
authorDaniel Stenberg <daniel@haxx.se>
Sun, 13 Mar 2011 13:10:27 +0000 (14:10 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 13 Mar 2011 13:10:27 +0000 (14:10 +0100)
commitca37692bf43b5ef0308f1c0bdd0d9cbbf9a3bd19
treea1130b7728b09bbcad7629281a39576ecfdcf071
parent176092d760eb275db81c8fe7b9210f5b58098266
ssh_statemach_act: set cselect for sftp upload

For uploads we want to use the _sending_ function even when the socket
turns out readable as the underlying libssh2 sftp send function will
deal with both accordingly. This is what the cselect_bits magic is for.

Fixes test 582.
lib/ssh.c