summaryrefslogtreecommitdiff
path: root/sys/src/cmd/python/Python
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2019-04-03 13:45:54 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2019-04-03 13:45:54 +0200
commit2251ef7a32f881ae2c80989d5285db943aa2073b (patch)
tree2c4e2f59b202198f4ea2593e24fa74db96120adf /sys/src/cmd/python/Python
parenta278545e3c492d97d32192e20de7c62c8b0ef4a2 (diff)
sshnet: pass on open failure error message, simplify
return the error message from MSG_CHANNEL_OPEN_FAILURE in the "connect" control write. use a extra state "Finished" to distinguish server from client initiated teardown. that way we do not need to track if we send the MSG_CHANNEL_CLOSE message in closeclient(). this way we also cannot be fooled by misbehaving server. simplify hangupclient() by removing state transitions and doing them in the caller explicitely. that way we can use hangupclient() instead of dialedclient().
Diffstat (limited to 'sys/src/cmd/python/Python')
0 files changed, 0 insertions, 0 deletions