refactor: remove custom parsing functions and use ssh.Marshal/ssh.Unmarshal for serialization

This commit is contained in:
2026-01-25 12:21:25 +07:00
parent 8fee8bf92e
commit b8c6359820
4 changed files with 50 additions and 178 deletions
-1
View File
@@ -57,7 +57,6 @@ func (tt *tcp) handleTcp(conn net.Conn) {
channel, reqs, err := tt.forwarder.OpenForwardedChannel(payload)
if err != nil {
log.Printf("Failed to open forwarded-tcpip channel: %v", err)
return
}