]> git.ipfire.org Git - thirdparty/curl.git/commit
SSH: add protocol lock direction
authorDaniel Stenberg <daniel@haxx.se>
Sun, 13 Mar 2011 22:21:03 +0000 (23:21 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 13 Mar 2011 22:21:03 +0000 (23:21 +0100)
commit3eac14b43c62717cc14733aba6827c0c3d38dc9a
treef4bce1b937b546536d4ac43cae12c77169e673ec
parent60406ff7f87c950be8eee96760f9358547594bc6
SSH: add protocol lock direction

Some protocols have to call the underlying functions without regard to
what exact state the socket signals. For example even if the socket says
"readable", the send function might need to be called while uploading,
or vice versa. This is the case for libssh2 based protocols: SCP and
SFTP and we now introduce a define to set those protocols and we make
the multi interface code aware of this concept.

This is another fix to make test 582 run properly.
lib/multi.c
lib/ssh.c
lib/urldata.h