Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(131)

Issue 15380048: code review 15380048: go.crypto/ssh: use a separate channel for out-of-band (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 7 months ago by hanwen-google
Modified:
12 years, 7 months ago
Reviewers:
agl1, jpsugar, dave
CC:
golang-dev
Visibility:
Public.

Description

go.crypto/ssh: use a separate channel for out-of-band requests. ChannelRequests are not synchronized with incoming data, so it is more natural to treat them through a separate API method. This is an API change: callers must service channel.IncomingRequests() rather than typecasting the channel.Read() error.

Patch Set 1 #

Patch Set 2 : diff -r e3c12cab1b35 https://code.google.com/p/go.crypto #

Patch Set 3 : diff -r e3c12cab1b35 https://code.google.com/p/go.crypto #

Total comments: 1

Patch Set 4 : diff -r 213a06a7ce81 https://code.google.com/p/go.crypto #

Patch Set 5 : diff -r 213a06a7ce81 https://code.google.com/p/go.crypto #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -47 lines) Patch
M ssh/channel.go View 1 7 chunks +13 lines, -23 lines 5 comments Download
M ssh/server.go View 1 2 3 1 chunk +7 lines, -6 lines 0 comments Download
M ssh/server_terminal.go View 1 2 chunks +5 lines, -11 lines 0 comments Download
M ssh/session_test.go View 1 2 chunks +5 lines, -7 lines 0 comments Download

Messages

Total messages: 15
hanwen-google
Hello agl1, dfc, jpsugar@google.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go.crypto
12 years, 7 months ago (2013-10-23 05:43:32 UTC) #1
hanwen-google
By request of Dave, I'm breaking my change down in smaller bits. This is purely ...
12 years, 7 months ago (2013-10-23 05:45:27 UTC) #2
jpsugar
LGTM
12 years, 7 months ago (2013-10-23 22:41:30 UTC) #3
dave_cheney.net
On 2013/10/23 22:41:30, jpsugar wrote: > LGTM Can you please hg mail % hg clpatch ...
12 years, 7 months ago (2013-10-24 20:38:36 UTC) #4
hanwen-google
Hello agl@golang.org, dave@cheney.net, jpsugar@google.com (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 7 months ago (2013-10-24 23:39:53 UTC) #5
hanwen-google
https://codereview.appspot.com/15380048/diff/120001/ssh/channel.go File ssh/channel.go (right): https://codereview.appspot.com/15380048/diff/120001/ssh/channel.go#newcode45 ssh/channel.go:45: I have an API question: should we put the ...
12 years, 7 months ago (2013-10-24 23:54:44 UTC) #6
dave_cheney.net
On 2013/10/24 23:54:44, hanwen-google wrote: > https://codereview.appspot.com/15380048/diff/120001/ssh/channel.go > File ssh/channel.go (right): > > https://codereview.appspot.com/15380048/diff/120001/ssh/channel.go#newcode45 > ...
12 years, 7 months ago (2013-10-25 16:48:05 UTC) #7
dave_cheney.net
Small nit. Still hoping to see a comment from agl. https://codereview.appspot.com/15380048/diff/60001/ssh/session_test.go File ssh/session_test.go (right): https://codereview.appspot.com/15380048/diff/60001/ssh/session_test.go#newcode645 ...
12 years, 7 months ago (2013-10-25 16:48:32 UTC) #8
agl1
https://codereview.appspot.com/15380048/diff/120001/ssh/channel.go File ssh/channel.go (right): https://codereview.appspot.com/15380048/diff/120001/ssh/channel.go#newcode28 ssh/channel.go:28: // SSH connection. This change seems to suck for ...
12 years, 7 months ago (2013-10-25 16:52:12 UTC) #9
hanwen-google
https://codereview.appspot.com/15380048/diff/120001/ssh/channel.go File ssh/channel.go (right): https://codereview.appspot.com/15380048/diff/120001/ssh/channel.go#newcode28 ssh/channel.go:28: // SSH connection. On 2013/10/25 16:52:12, agl1 wrote: > ...
12 years, 7 months ago (2013-10-25 18:31:09 UTC) #10
hanwen-google
Channel is not instantiated for the client side, but they're actually the same. Clients may ...
12 years, 7 months ago (2013-10-25 18:37:48 UTC) #11
hanwen-google
Let's continue discussion in the doc I set up https://docs.google.com/document/d/1yVmyfDxWbnIhDkk4ypNSVjV8KL_GOsfCcr-ZcDpDup4/edit?disco=AAAAAG9xdfA On Fri, Oct 25, 2013 ...
12 years, 7 months ago (2013-10-25 18:38:48 UTC) #12
agl1
https://codereview.appspot.com/15380048/diff/120001/ssh/channel.go File ssh/channel.go (right): https://codereview.appspot.com/15380048/diff/120001/ssh/channel.go#newcode28 ssh/channel.go:28: // SSH connection. On 2013/10/25 18:31:09, hanwen-google wrote: > ...
12 years, 7 months ago (2013-10-25 19:09:28 UTC) #13
hanwen-google
as discussed, we'll work on the gonewssh repo for now, so I'm abandoning this change.
12 years, 7 months ago (2013-10-25 22:41:58 UTC) #14
hanwen-google
12 years, 7 months ago (2013-10-26 06:27:08 UTC) #15
*** Abandoned ***
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b