update: use raw TCP for HTTP server

This commit is contained in:
2025-04-02 23:27:39 +07:00
parent 58f15d5a67
commit 221adf9581
8 changed files with 232 additions and 545 deletions

View File

@ -8,15 +8,16 @@ import (
)
type Session struct {
ID uuid.UUID
Slug string
ConnChannels []ssh.Channel
Connection *ssh.ServerConn
GlobalRequest <-chan *ssh.Request
Listener net.Listener
TunnelType TunnelType
ForwardedPort uint16
Done chan bool
ID uuid.UUID
Slug string
ConnChannels []ssh.Channel
Connection *ssh.ServerConn
GlobalRequest <-chan *ssh.Request
Listener net.Listener
TunnelType TunnelType
ForwardedPort uint16
Done chan bool
ForwardedChannel ssh.Channel
}
type TunnelType string