X-Git-Url: https://git.distorted.org.uk/~mdw/tripe/blobdiff_plain/35c8b547dde529693875087d67fa60bf88319d2b..c1d15fdaf78e6e33bf853d94f54e9c7c58519485:/py/tripe.py.in diff --git a/py/tripe.py.in b/py/tripe.py.in index 78a305b8..fca38102 100644 --- a/py/tripe.py.in +++ b/py/tripe.py.in @@ -663,7 +663,10 @@ class TripeCommandDispatcher (TripeConnection): The dispatcher also has a special response code of its own: CONNERR indicates that the connection failed and the command has therefore been - lost; the + lost. This is sent to all outstanding commands when a connection error is + encountered: rather than a token list, it is accompanied by an exception + object which is the cause of the disconnection, which may be `None' if the + disconnection is expected (e.g., the direct result of a user request). """ ## --- Infrastructure --- @@ -831,7 +834,8 @@ class TripeCommandDispatcher (TripeConnection): return _simple(me.command(bg = True, *['ADD'] + _kwopts(kw, ['tunnel', 'keepalive', - 'key', 'cork', 'mobile']) + + 'key', 'priv', 'cork', + 'mobile']) + [peer] + list(addr))) def addr(me, peer):