summaryrefslogtreecommitdiffhomepage
path: root/tests/test_packetizer.py
AgeCommit message (Collapse)Author
2014-08-15Let packetizer handle 0-length sends from channel.Olle Lundberg
If the channel is closed the send method returs a response length of 0. This is not handled correctly by the packetizer and puts it in an infinite loop. (Fixes #156 for real :-) We make sure we don't do more than 10 iteration on a 0 length respose, but raise an EOFError.
2014-03-29Switched hash functions from PyCrypto to hashlib.Alex Gaynor
There's a few advantages to this: 1) It's probably fast, OpenSSL, which typically backs hashlib, receives far more attention for optimizaitons than PyCrypto. 2) It's the first step to supporting PyPy, where PyCrypto doesn't run.
2014-03-07Fix import * and a bunch of PEP8 formattingScott Maxwell
2014-03-07Start in on star import eradicationJeff Forcier
2013-11-19Remove byte conversions and unhexlify calls that we only needed for Py2.5 ↵Scott Maxwell
support and use the `b` byte string marker instead
2013-11-02Fix some deprecation and resource warningsScott Maxwell
2013-11-01Fixes for Python 2.5 and Python 3.2 supportScott Maxwell
2013-11-01Eliminate all uses of b'' syntax to allow for Python 2.5 supportScott Maxwell
2013-10-31Fix bytes/str type in more placesScott Maxwell
2013-10-30Fix message sendingScott Maxwell
Create constants for byte messages, implement asbytes so many methods can take Message and key objects directly and split get_string into get_text and get_binary. Also, change int handling to use mpint with a flag whenever the int is greater than 32 bits.
2013-10-30Fix importsScott Maxwell
2013-09-27Fixed a typo in the license header of most filesJeff Forcier
Conflicts: paramiko/proxy.py
2009-07-19fix my email address to be the current one.Robey Pointer
2007-02-13[project @ robey@lag.net-20070213191706-v8djxd4jiunb3his]Robey Pointer
bump copyright year to 2007
2005-05-10[project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-8]Robey Pointer
add unit tests for the packetizer, and fix a little locking bug where i think more of the packetizer write function should be inside a lock