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

Issue 18120043: code review 18120043: go.crypto/ssh: Increase window size.

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 5 months ago by jborg
Modified:
10 years, 5 months ago
Reviewers:
agl1, hanwen-google
CC:
golang-dev, dfc, hanwen-google, agl1
Visibility:
Public.

Description

go.crypto/ssh: Increase window size. Increase window size for channels (session and tcpip) to 64 * max packet size (32 KB), which is the same value that OpenSSH uses. Also breaks out the relevant hardcoded constants into named constants in channel.go. Fixes issue 6675.

Patch Set 1 #

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

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

Total comments: 2

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

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

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

Total comments: 1

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -10 lines) Patch
ssh/channel.go View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
ssh/client.go View 1 2 3 1 chunk +4 lines, -6 lines 0 comments Download
ssh/session.go View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
ssh/tcpip.go View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 12
jborg
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go.crypto
10 years, 5 months ago (2013-10-27 20:28:53 UTC) #1
dfc
On 2013/10/27 20:28:53, jborg wrote: > Hello mailto:golang-dev@googlegroups.com, > > I'd like you to review ...
10 years, 5 months ago (2013-10-27 21:03:19 UTC) #2
jborg
On 27 okt 2013, at 22:03, dave@cheney.net wrote: > >> On 2013/10/27 20:28:53, jborg wrote: ...
10 years, 5 months ago (2013-10-27 21:18:28 UTC) #3
hanwen-google
LGTM (when names are fixed). https://codereview.appspot.com/18120043/diff/40001/ssh/channel.go File ssh/channel.go (right): https://codereview.appspot.com/18120043/diff/40001/ssh/channel.go#newcode29 ssh/channel.go:29: advInitialWindowSize = 64 * ...
10 years, 5 months ago (2013-10-28 08:32:21 UTC) #4
jborg
On 2013/10/28 08:32:21, hanwen-google wrote: > LGTM > > (when names are fixed). > > ...
10 years, 5 months ago (2013-10-28 10:56:10 UTC) #5
hanwen-google
LGTM https://codereview.appspot.com/18120043/diff/100001/ssh/channel.go File ssh/channel.go (right): https://codereview.appspot.com/18120043/diff/100001/ssh/channel.go#newcode28 ssh/channel.go:28: // channelWindowSize defines the window size advertised in ...
10 years, 5 months ago (2013-10-28 12:18:53 UTC) #6
hanwen-google
On 2013/10/28 12:18:53, hanwen-google wrote: > LGTM > > https://codereview.appspot.com/18120043/diff/100001/ssh/channel.go > File ssh/channel.go (right): > ...
10 years, 5 months ago (2013-10-29 17:38:58 UTC) #7
dfc
I've been testing this over the last few days and it does what it says ...
10 years, 5 months ago (2013-10-29 18:09:43 UTC) #8
jborg
Hello golang-dev@googlegroups.com, dave@cheney.net, hanwen@google.com, agl@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
10 years, 5 months ago (2013-10-29 18:29:04 UTC) #9
agl1
LGTM if others are happy.
10 years, 5 months ago (2013-10-29 19:08:33 UTC) #10
dfc
*** Submitted as https://code.google.com/p/go/source/detail?r=6478cc9340cb&repo=crypto *** go.crypto/ssh: Increase window size. Increase window size for channels (session ...
10 years, 5 months ago (2013-10-31 17:25:04 UTC) #11
hanwen-google
10 years, 5 months ago (2013-11-05 15:51:37 UTC) #12
Hi Jakob,

On Tue, Oct 29, 2013 at 7:29 PM,  <jakob@nym.se> wrote:
> Hello golang-dev@googlegroups.com, dave@cheney.net, hanwen@google.com,
> agl@golang.org (cc: golang-dev@googlegroups.com),
>

could you prepare the same patch against

 https://code.google.com/p/gosshnew/

?

I'm not sufficiently sure of my mercurial-foo to try cherry-picking it myself.

-- 
Han-Wen Nienhuys
Google Munich
hanwen@google.com
Sign in to reply to this message.

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