-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make agent channel setup lazy. #3741
Conversation
afa4587
to
8ecf6fc
Compare
8ecf6fc
to
c93a360
Compare
0741abc
to
aabde17
Compare
retest this please |
3792be0
to
399b575
Compare
// never actually be empty. | ||
t.namespace = defaults.Namespace | ||
} | ||
cmt := check.Commentf("Test case %d: %+v", i, t) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
optional: you can add a desc string
field to the test cases to explain what the case covers instead of printing index + contents
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool, I wasn't aware of that feature. Think I'll keep as-is though; since I'm mutating the test case I think its nice to include a pretty print of the test case's value.
399b575
to
bd64b09
Compare
Changes agent channel setup behavior to be consistent openssh by having servers lazily request agent channels when they are needed, rather than immediately starting a single connection-wide channel as soon as forwarding is requested. Fixes an issue introduced in #3613 which caused openssh clients to hang on exit due to persistent agent channel.
bd64b09
to
fe98141
Compare
Changes agent channel setup behavior to be consistent with openssh by having servers lazily request agent channels when they are needed, rather than immediately starting a single connection-wide channel as soon as forwarding is requested.
Fixes an issue introduced in #3613 which caused openssh clients to hang on exit due to persistent agent channel.