Skip to content

ts_tunnel: refactor and encapsulate handshakes and sessions more #156

@danderson

Description

@danderson

nrc pointed the way in #4, showing that pushing the handshake state enum into handshake.rs cleaned up a lot of things. This is a tracking task for two follow-ons:

  • I think we can push the handshake refactor further, and have callers only interact with the handshake enum type rather than both the enum and the inner values.
  • A similar refactor applies to session state management, I think: pushing more of the session lifecycle into session.rs should lead to similar improvements.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions