MCPcopy Create free account
hub / github.com/M1r0ku/frp-Modify / Handle

Method Handle

frp-dev/pkg/plugin/client/https2https.go:130–133  ·  view source on GitHub ↗
(conn io.ReadWriteCloser, realConn net.Conn, extraBufToLocal []byte)

Source from the content-addressed store, hash-verified

128}
129
130func (p *HTTPS2HTTPSPlugin) Handle(conn io.ReadWriteCloser, realConn net.Conn, extraBufToLocal []byte) {
131 wrapConn := frpNet.WrapReadWriteCloserToConn(conn, realConn)
132 _ = p.l.PutConn(wrapConn)
133}
134
135func (p *HTTPS2HTTPSPlugin) Name() string {
136 return PluginHTTPS2HTTPS

Callers

nothing calls this directly

Calls 1

PutConnMethod · 0.45

Tested by

no test coverage detected