Age | Commit message (Collapse) | Author |
|
sometimes the sftp module is used with raw sockets, not just paramiko
Channels. in this case, calling recv() will never return. so notice
this and use select() to give python a chance to notice a closed socket.
this kind of thing is especially useful for unit tests.
|
|
a bit of cleanup in close() to try harder to avoid having lingering threads
|
|
try a trick that should let 'hostkeys[hostname][keytype] = key' work for
HostKeys objects again.
|
|
use python from env for unit tests
|
|
bug 70398:
allow constructions like:
hostkeys['hostname'] = {}
to create an empty host entry object, so that future attempts to set
keys will at least not throw an exception. (they'll still silently do
nothing, though.)
|
|
(bug 69222)
on some recent linux kernels, a socket can return "readable" from select,
but a subsequent read() will return EAGAIN. this is against the contract
of select(), so python's socketmodule doesn't catch it or handle it.
therefore, we need to. EAGAIN should now be treated the same as a
socket timeout.
|
|
(bug 69330)
in SFTPClient._auth, check for the existence of the rsa/dsa keys before
trying to open them, so that an I/O exception doesn't mask an earlier
one.
|
|
include setup_helper.py in the manifest
|
|
bump version to 1.6.3
|
|
might as well assert this
|
|
i think the compression needs to be inside this lock in order to preserve order
|
|
bug fix from mike looijmans: notify any thread waiting in accept() when the transport dies
|
|
trivial doc fixes
|
|
merge patches from wouter van heyst and john arbash-meinel for fixing tarballs on os x, and fixing md5 on linux
|
|
clean docs too
|
|
trap EOF errors when reading a response, and translate into SSHException
|
|
fixes from mike barber for chdir and sftp attr __str__
|
|
fix from john arbash-meinel for the stub sftp server's default open mode
|
|
better way to change the module name
|
|
sadly, revert the append optimization -- it breaks for openssh
|
|
remove usage of has_key, which is dangerous and deprecated
|
|
fix a couple of pcheck warnings
|
|
fix __setitem__ to do the right thing
|
|
ok, ok, switch back to open()
|
|
when a file is open for append, don't stat to get the file position unless the user asks for it explicitly
|
|
don't automatically make epydocs for the private (internal) methods and classes
|
|
add 'flags' param to SFTPHandle and make the default impl avoid calling tell() when in append mode; add proper append-mode support to stub_sftp
|
|
bump version to 1.6.2
|
|
don't need odict anymore
|
|
add a unit test to verify that all the paramiko symbols are exported correctly
|
|
missing commas in exported class list (bug 55946)
|
|
create a gzip file also, when building a release
|
|
fix logic in checking prefetch buffers: don't stop looking for prefetched data just because all the buffers have arrived
|
|
use hexlify instead of home-grown hexify
|
|
use hexlify in tests
|
|
use hexlify instead of custom-made hexify in demos
|
|
clean up test.py a bit and allow filtering from the command line
|
|
explain about the new launchpad site
|
|
oops, forgot to import SSHException
|
|
variant of a patch from warren young to preserve the order of host entries from the 'known_hosts' file and preserve knowlege of which lines had multiple hostnames on them
|
|
if a chunk has been requested in prefetch, don't bother doing an overlapping prefetch during readv
|
|
don't fetch readv chunks that we have reason to believe are already in prefetch buffers. no longer need to order the prefetch requests either.
|
|
allow prefetch + readv to occur at the same time (even though it will be really inefficient). instead of a moving pointer, use the prefetched buffers as an indication of what we've downloaded so far. break up large readv requests into the max packet size. add 2 more unit tests to test this stuff.
|
|
attempt to implement support for kex-gex 'old' packet type, which is apparently used by putty (this would only affect paramiko in server mode)
|
|
clean up pyc files too
|
|
clean up use of expected_packet and make it accept a tuple of packet types
|
|
fix SSHException references in demos
|
|
bump version to 1.6 (oops, forgot to check this in a few days ago)
|
|
apparently some sftp servers may return an mtime of 0xffffffff -- just in case, ignore that value
|
|
new ignores
|