client plugin: added plugin tls2raw (#4341)

This commit is contained in:
fatedier authored and GitHub committed 2024-07-25 14:28:17 +08:00
1 parent b4d5d8c756
commit 69cc422edf
17 files changed
+187 -56

No files matched your search

+1 -1
View File
@@ -192,7 +192,7 @@ func (pxy *BaseProxy) HandleTCPWorkConnection(workConn net.Conn, m *msg.StartWor
if pxy.proxyPlugin != nil {
// if plugin is set, let plugin handle connection first
xl.Debugf("handle by plugin: %s", pxy.proxyPlugin.Name())
pxy.proxyPlugin.Handle(remote, workConn, &extraInfo)
pxy.proxyPlugin.Handle(pxy.ctx, remote, workConn, &extraInfo)
xl.Debugf("handle by plugin finished")
return
}