Commit Graph

1404 Commits

Author SHA1 Message Date
Robey Pointer 482d0bcef2 [project @ robey@lag.net-20061031223747-9fda3f2c1112c5dc]
(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.
2006-10-31 14:37:47 -08:00
Robey Pointer 4628a53acf [project @ robey@lag.net-20061031190617-1113fb493ff5b690]
(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.
2006-10-31 11:06:17 -08:00
Robey Pointer f076c51d4e [project @ robey@lag.net-20061031185035-b57ad8184c39063a]
include setup_helper.py in the manifest
2006-10-31 10:50:35 -08:00
Robey Pointer 7e27adacf1 [project @ robey@lag.net-20061015015628-371a037b5165d634]
bump version to 1.6.3
2006-10-14 18:56:28 -07:00
Robey Pointer f4199b5a28 [project @ robey@lag.net-20061015012126-36370734592aff17]
might as well assert this
2006-10-14 18:21:26 -07:00
Robey Pointer 4d090c71a6 [project @ robey@lag.net-20061008002032-d6803b57bac4f62c]
i think the compression needs to be inside this lock in order to preserve order
2006-10-07 17:20:32 -07:00
Robey Pointer 93ab477408 [project @ robey@lag.net-20061001034525-8f78a989ecde720c]
bug fix from mike looijmans: notify any thread waiting in accept() when the transport dies
2006-09-30 20:45:25 -07:00
Robey Pointer 64b89b6efd [project @ robey@lag.net-20061001034455-bf6880fdbd4dd29e]
trivial doc fixes
2006-09-30 20:44:55 -07:00
Robey Pointer 6e49ddbc44 [project @ robey@lag.net-20060912073153-4d8c5623d4c2aa7b]
merge patches from wouter van heyst and john arbash-meinel for fixing tarballs on os x, and fixing md5 on linux
2006-09-12 00:31:53 -07:00
Robey Pointer a4f09c31ed [project @ robey@lag.net-20060912072641-dc427855d7569dda]
clean docs too
2006-09-12 00:26:41 -07:00
Robey Pointer 31c26eafb9 [project @ robey@lag.net-20060911175604-bf2798fcebd62780]
trap EOF errors when reading a response, and translate into SSHException
2006-09-11 10:56:04 -07:00
Robey Pointer 4acb9589ce [project @ robey@lag.net-20060908023959-de70f0675f25fa64]
fixes from mike barber for chdir and sftp attr __str__
2006-09-07 19:39:59 -07:00
Robey Pointer 305a4ae417 [project @ robey@lag.net-20060908022816-ea2856cefb9d83e0]
fix from john arbash-meinel for the stub sftp server's default open mode
2006-09-07 19:28:16 -07:00
Robey Pointer 682185bac1 [project @ robey@lag.net-20060908015516-1b8ac2af031586fe]
better way to change the module name
2006-09-07 18:55:16 -07:00
Robey Pointer df20443b29 [project @ robey@lag.net-20060901205930-021bcc34e3d5d8c8]
sadly, revert the append optimization -- it breaks for openssh
2006-09-01 13:59:30 -07:00
Robey Pointer 1f4a3f1976 [project @ robey@lag.net-20060829181836-1cd17df7729c4db8]
remove usage of has_key, which is dangerous and deprecated
2006-08-29 11:18:36 -07:00
Robey Pointer b23079b135 [project @ robey@lag.net-20060829012231-328fee7de77036be]
fix a couple of pcheck warnings
2006-08-28 18:22:31 -07:00
Robey Pointer 2b8738d3ce [project @ robey@lag.net-20060828234834-51542dc36057b361]
fix __setitem__ to do the right thing
2006-08-28 16:48:34 -07:00
Robey Pointer c2b38a1fb8 [project @ robey@lag.net-20060823025610-adee7f6d9bd92725]
ok, ok, switch back to open()
2006-08-22 19:56:10 -07:00
Robey Pointer 145ceab54c [project @ robey@lag.net-20060823025538-3f8a4d761d7d4118]
when a file is open for append, don't stat to get the file position unless the user asks for it explicitly
2006-08-22 19:55:38 -07:00
Robey Pointer 738e81033a [project @ robey@lag.net-20060822182819-26cf01113495c9a3]
don't automatically make epydocs for the private (internal) methods and classes
2006-08-22 11:28:19 -07:00
Robey Pointer cc3e383baf [project @ robey@lag.net-20060822025601-aab3b723b95d3a9c]
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
2006-08-21 19:56:01 -07:00
Robey Pointer 49418d1145 [project @ robey@lag.net-20060816213132-2e094c077d22dc50]
bump version to 1.6.2
2006-08-16 14:31:32 -07:00
Robey Pointer bfe8fac5bf [project @ robey@lag.net-20060816213106-99cffe9de5d555c5]
don't need odict anymore
2006-08-16 14:31:06 -07:00
Robey Pointer 929ce8df7a [project @ robey@lag.net-20060813195045-ca4148e233794d4b]
add a unit test to verify that all the paramiko symbols are exported correctly
2006-08-13 12:50:45 -07:00
Robey Pointer 6d37b6b810 [project @ robey@lag.net-20060813193546-c92b58af1c27d156]
missing commas in exported class list (bug 55946)
2006-08-13 12:35:46 -07:00
Robey Pointer 4707b2d8d1 [project @ robey@lag.net-20060813193233-10db2cfe4c53a1df]
create a gzip file also, when building a release
2006-08-13 12:32:33 -07:00
Robey Pointer 4bedcfbf39 [project @ robey@lag.net-20060801182715-f0977a00fbcce456]
fix logic in checking prefetch buffers: don't stop looking for prefetched data just because all the buffers have arrived
2006-08-01 11:27:15 -07:00
Robey Pointer 05de66db6d [project @ robey@lag.net-20060801182357-e030af9570314145]
use hexlify instead of home-grown hexify
2006-08-01 11:23:57 -07:00
Robey Pointer 074dc36e6b [project @ robey@lag.net-20060801182143-088ff687e0945937]
use hexlify in tests
2006-08-01 11:21:43 -07:00
Robey Pointer 7ac433a6ac [project @ robey@lag.net-20060801182053-a74d120228b8009a]
use hexlify instead of custom-made hexify in demos
2006-08-01 11:20:53 -07:00
Robey Pointer 157484f5eb [project @ robey@lag.net-20060731070137-571efc087c20347a]
clean up test.py a bit and allow filtering from the command line
2006-07-31 00:01:37 -07:00
Robey Pointer 5bbe1a8f36 [project @ robey@lag.net-20060731065604-ec418957546f7ec9]
explain about the new launchpad site
2006-07-30 23:56:04 -07:00
Robey Pointer 4086a5cd35 [project @ robey@lag.net-20060729182801-e5e501844712bd85]
oops, forgot to import SSHException
2006-07-29 11:28:01 -07:00
Robey Pointer 6821b6e8e8 [project @ robey@lag.net-20060727025519-bffe5bcc0556d779]
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
2006-07-26 19:55:19 -07:00
Robey Pointer 17a93bce4c [project @ robey@lag.net-20060726191515-6ff627b4d7216073]
if a chunk has been requested in prefetch, don't bother doing an overlapping prefetch during readv
2006-07-26 12:15:15 -07:00
Robey Pointer c731a077fb [project @ robey@lag.net-20060726002947-e60cb0a3d7b86919]
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.
2006-07-25 17:29:47 -07:00
Robey Pointer c24db3e38c [project @ robey@lag.net-20060726000907-b9a2d46eecc64cec]
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.
2006-07-25 17:09:07 -07:00
Robey Pointer 787b0b461d [project @ robey@lag.net-20060723235649-5f757e44908ffb31]
attempt to implement support for kex-gex 'old' packet type, which is apparently used by putty (this would only affect paramiko in server mode)
2006-07-23 16:56:49 -07:00
Robey Pointer c925c41437 [project @ robey@lag.net-20060723235616-fe1d7920eb25a0ec]
clean up pyc files too
2006-07-23 16:56:16 -07:00
Robey Pointer 4737e44e40 [project @ robey@lag.net-20060723235548-2f5f9ae591d683ca]
clean up use of expected_packet and make it accept a tuple of packet types
2006-07-23 16:55:48 -07:00
Robey Pointer 55a52a09cc [project @ robey@lag.net-20060723204116-319c388eacb937d6]
fix SSHException references in demos
2006-07-23 13:41:16 -07:00
Robey Pointer ffcc22e784 [project @ robey@lag.net-20060713194617-35597c20a6b3bc59]
bump version to 1.6 (oops, forgot to check this in a few days ago)
2006-07-13 12:46:17 -07:00
Robey Pointer ec6e76abc6 [project @ robey@lag.net-20060710070003-b9c4a1a7f7ab0ae9]
apparently some sftp servers may return an mtime of 0xffffffff -- just in case, ignore that value
2006-07-10 00:00:03 -07:00
Robey Pointer ab7c0fe9e8 [project @ robey@lag.net-20060710065931-5e87f3d9879dad46]
new ignores
2006-07-09 23:59:31 -07:00
Robey Pointer 9c8a06b877 [project @ robey@lag.net-20060628050022-2f0d754ed70356f1]
anal-retentive conversion to 'while True'
2006-06-27 22:00:22 -07:00
Robey Pointer c22df44900 [project @ robey@lag.net-20060628045919-ffac82c51c51b3df]
make HostKeys use odict to ensure order is preserved, and add HostKeys.save()
2006-06-27 21:59:19 -07:00
Robey Pointer 4fa4fdee4b [project @ robey@lag.net-20060627064106-71a2bfb5a39a2913]
add PKey.from_private_key to read from a file object
2006-06-26 23:41:06 -07:00
Robey Pointer d81758f1ff [project @ robey@lag.net-20060627060810-93a5453df5ae4a62]
log mkdir mode when given
2006-06-26 23:08:10 -07:00
Robey Pointer be86d5474a [project @ robey@lag.net-20060627060703-3d7eadfb1f5042ad]
catch and discard exceptions thrown when sending a status response during an exception
2006-06-26 23:07:03 -07:00