summaryrefslogtreecommitdiffhomepage
path: root/test.py
diff options
context:
space:
mode:
authorRobey Pointer <robey@lag.net>2004-06-10 18:08:50 +0000
committerRobey Pointer <robey@lag.net>2004-06-10 18:08:50 +0000
commit146417c56c3a9911b0c4f4eec212e69d2d994455 (patch)
tree37265947a13649cb3dfaa3b99f4f3fb5085ade21 /test.py
parentf0ba3c482eb937a450cac99b578a6197ed54101b (diff)
[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-60]
limit read/write requests to 32KB, advertise 32KB max packet size one of the unit tests was failing because the openssh sftp server was dropping the connection without any error. turns out they have a maximum allowed write size (possibly around 64KB). the sftp rfcs have a small hint that some servers may drop read/write requests of greater than 32KB. so, all reads are limited to 32KB, and all writes > 32KB are now chopped up and sent in 32KB chunks. this seems to keep openssh happy. also, we now advertise 32KB max packet size instead of 8KB (the speed improves a lot), and log when we read/write a packet. and sftp files are flushed on seek.
Diffstat (limited to 'test.py')
0 files changed, 0 insertions, 0 deletions