8000 Comment ChannelAccepterWatcher · coder/coder@7139448 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7139448

Browse files
code-asherEmyrk
andcommitted
Comment ChannelAccepterWatcher
Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com>
1 parent dce56fd commit 7139448

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

agent/agentssh/jetbrainstrack.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ type localForwardChannelData struct {
1919
OriginPort uint32
2020
}
2121

22+
// ChannelAcceptWatcher is used to track jetbrains port forwarding (gateway)
23+
// connections. If the port forward is something other than jetbrains, this
24+
// struct is a noop.
2225
type ChannelAcceptWatcher struct {
2326
gossh.NewChannel
2427
jetbrainsCounter *atomic.Int64

0 commit comments

Comments
 (0)
0