[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-116]
doc fixups explain "recv_ready" better, and add debug descriptions for the kex codes.
This commit is contained in:
parent
df63dc4154
commit
ed8b376205
1
README
1
README
|
@ -205,3 +205,4 @@ v0.9 FEAROW
|
||||||
* server mode needs better documentation
|
* server mode needs better documentation
|
||||||
* sftp server mode
|
* sftp server mode
|
||||||
* figure out if there's a way to put stdout/stderr on different channels?
|
* figure out if there's a way to put stdout/stderr on different channels?
|
||||||
|
* add method to block until a channel's "exit-status" is set
|
||||||
|
|
|
@ -379,7 +379,9 @@ class Channel (object):
|
||||||
|
|
||||||
def recv_ready(self):
|
def recv_ready(self):
|
||||||
"""
|
"""
|
||||||
Returns true if data is ready to be read from this channel.
|
Returns true if data is buffered and ready to be read from this
|
||||||
|
channel. A C{False} result does not mean that the channel has closed;
|
||||||
|
it means you may need to wait before more data arrives.
|
||||||
|
|
||||||
@return: C{True} if a L{recv} call on this channel would immediately
|
@return: C{True} if a L{recv} call on this channel would immediately
|
||||||
return at least one byte; C{False} otherwise.
|
return at least one byte; C{False} otherwise.
|
||||||
|
|
|
@ -44,6 +44,11 @@ MSG_NAMES = {
|
||||||
MSG_SERVICE_ACCEPT: 'service-accept',
|
MSG_SERVICE_ACCEPT: 'service-accept',
|
||||||
MSG_KEXINIT: 'kexinit',
|
MSG_KEXINIT: 'kexinit',
|
||||||
MSG_NEWKEYS: 'newkeys',
|
MSG_NEWKEYS: 'newkeys',
|
||||||
|
30: 'kex30',
|
||||||
|
31: 'kex31',
|
||||||
|
32: 'kex32',
|
||||||
|
33: 'kex33',
|
||||||
|
34: 'kex34',
|
||||||
MSG_USERAUTH_REQUEST: 'userauth-request',
|
MSG_USERAUTH_REQUEST: 'userauth-request',
|
||||||
MSG_USERAUTH_FAILURE: 'userauth-failure',
|
MSG_USERAUTH_FAILURE: 'userauth-failure',
|
||||||
MSG_USERAUTH_SUCCESS: 'userauth-success',
|
MSG_USERAUTH_SUCCESS: 'userauth-success',
|
||||||
|
|
Loading…
Reference in New Issue