tcp multiplexing over http connect tunnel

This commit is contained in:
fatedier authored and GitHub committed 2020-03-05 21:47:49 +08:00
1 parent 0b9124d4fd
commit 1db091b381
22 files changed
+565 -26

No files matched your search

+4
View File
@@ -18,6 +18,7 @@ import (
"github.com/fatedier/frp/models/nathole"
"github.com/fatedier/frp/server/group"
"github.com/fatedier/frp/server/ports"
"github.com/fatedier/frp/utils/tcpmux"
"github.com/fatedier/frp/utils/vhost"
)
@@ -46,4 +47,7 @@ type ResourceController struct {
// Controller for nat hole connections
NatHoleController *nathole.NatHoleController
// TcpMux HTTP CONNECT multiplexer
TcpMuxHttpConnectMuxer *tcpmux.HttpConnectTcpMuxer
}