fix: remove timeouts from HTTP/HTTPS handlers and improve concurrency
All checks were successful
Docker Build and Push / build-and-push (push) Successful in 3m40s

This commit is contained in:
2025-07-21 19:54:17 +07:00
parent 4a25627ab5
commit 9f18cfa954
4 changed files with 105 additions and 104 deletions

View File

@ -3,6 +3,7 @@ package session
import (
"golang.org/x/crypto/ssh"
"net"
"sync"
)
type TunnelType string
@ -24,6 +25,7 @@ type Session struct {
Slug string
ChannelChan chan ssh.NewChannel
Done chan bool
once sync.Once
}
func New(conn *ssh.ServerConn, forwardingReq <-chan *ssh.Request) *Session {