Skip to content

Conversation

@Lukasa
Copy link
Contributor

@Lukasa Lukasa commented Apr 23, 2020

Motivation:

As part of the work for TCP port forwarding support we need a way for
"global requests" to be handled. This implies the existence of a "Global
Request Delegate". When adding this it became clear that configuration
was getting out of hand. This patch rewrites configuration to make it a
bit easier to handle.

Modifications:

  • Added new GlobalRequestDelegate
  • Added SSHClientConfiguration and SSHServerConfiguration
  • Moved existing delegate and host key setup under the new config.
  • Fixed up the tests.

Results:

Single configuration object.

Motivation:

As part of the work for TCP port forwarding support we need a way for
"global requests" to be handled. This implies the existence of a "Global
Request Delegate". When adding this it became clear that configuration
was getting out of hand. This patch rewrites configuration to make it a
bit easier to handle.

Modifications:

- Added new GlobalRequestDelegate
- Added SSHClientConfiguration and SSHServerConfiguration
- Moved existing delegate and host key setup under the new config.
- Fixed up the tests.

Results:

Single configuration object.
@Lukasa Lukasa requested a review from artemredkin April 23, 2020 16:41
@tomerd
Copy link
Member

tomerd commented Apr 23, 2020

lets merge #3 first so we can get CI to actually test this

@Lukasa Lukasa merged commit 424f4cd into apple:master Apr 24, 2020
@Lukasa Lukasa deleted the cb-new-config branch April 24, 2020 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants