summaryrefslogtreecommitdiff
path: root/src/win32/pthread.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-07-02 12:49:51 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2014-07-02 12:49:51 +0200
commit0963716b3fd30a0900c22884bcd52f04d556fb67 (patch)
tree05b88b78b9a84f98a2626ca31da7e35fcf231d9e /src/win32/pthread.h
parent28f087c8642ff9c8dd6964e101e6d8539db6281a (diff)
downloadlibgit2-cmn/ssh-send-everything.tar.gz
ssh: libssh2_channel_write() behaves like send()cmn/ssh-send-everything
When the stream writing function was written, it assume that libssh2_channel_write() would always write all of the data to the wire. This is only true for the first 32k of data, which it tries to fit into one ssh packet. Since it can perform short writes, call it in a loop like we do for send(), advancing the buffer offset.
Diffstat (limited to 'src/win32/pthread.h')
0 files changed, 0 insertions, 0 deletions