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

Issue 11349043: go.crypto/ssh: close channel feeding tcpListener. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 9 months ago by hanwen-google
Modified:
10 years, 9 months ago
Reviewers:
dave
CC:
dave_cheney.net, golang-dev
Visibility:
Public.

Description

go.crypto/ssh: close channel feeding tcpListener. Close both on closing the listener, and on closing the connection. Test the former case.

Patch Set 1 #

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

Total comments: 3

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

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -8 lines) Patch
M ssh/client.go View 1 1 chunk +2 lines, -1 line 1 comment Download
M ssh/tcpip.go View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
M ssh/test/forward_unix_test.go View 1 3 chunks +53 lines, -7 lines 0 comments Download

Messages

Total messages: 9
hanwen-google
https://codereview.appspot.com/11349043/diff/2001/ssh/test/forward_unix_test.go File ssh/test/forward_unix_test.go (right): https://codereview.appspot.com/11349043/diff/2001/ssh/test/forward_unix_test.go#newcode153 ssh/test/forward_unix_test.go:153: // TODO(hanwen): test that closing the connection also this ...
10 years, 9 months ago (2013-07-16 14:03:56 UTC) #1
dave_cheney.net
On 2013/07/16 14:03:56, hanwen wrote: > https://codereview.appspot.com/11349043/diff/2001/ssh/test/forward_unix_test.go > File ssh/test/forward_unix_test.go (right): > > https://codereview.appspot.com/11349043/diff/2001/ssh/test/forward_unix_test.go#newcode153 > ...
10 years, 9 months ago (2013-07-16 14:06:49 UTC) #2
hanwen-google
You don't have to make sshd listen to the socket? You could use the socket ...
10 years, 9 months ago (2013-07-16 14:14:01 UTC) #3
hanwen-google
I mistakenly deleted the repo that held this change. If it LGTMs, I would be ...
10 years, 9 months ago (2013-07-19 08:41:00 UTC) #4
dave_cheney.net
You can fix it by checking out again, setting up the code review extension then ...
10 years, 9 months ago (2013-07-19 08:48:05 UTC) #5
hanwen-google
https://codereview.appspot.com/11349043/diff/2001/ssh/tcpip.go File ssh/tcpip.go (right): https://codereview.appspot.com/11349043/diff/2001/ssh/tcpip.go#newcode112 ssh/tcpip.go:112: close(f.c) On 2013/07/19 08:41:00, hanwen wrote: > oops; the ...
10 years, 9 months ago (2013-07-20 11:27:34 UTC) #6
dave_cheney.net
LGTM. Thank you. Sorry for the delay.
10 years, 9 months ago (2013-07-22 11:49:39 UTC) #7
dave_cheney.net
*** Submitted as https://code.google.com/p/go/source/detail?r=6ad91f44b054&repo=crypto *** go.crypto/ssh: close channel feeding tcpListener. Close both on closing the ...
10 years, 9 months ago (2013-07-22 11:50:21 UTC) #8
hanwen-google
10 years, 9 months ago (2013-07-24 20:20:09 UTC) #9
*** Abandoned ***
Sign in to reply to this message.

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