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

Method Handle

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

Source from the content-addressed store, hash-verified

98}
99
100func (p *HTTP2HTTPSPlugin) Handle(conn io.ReadWriteCloser, realConn net.Conn, extraBufToLocal []byte) {
101 wrapConn := frpNet.WrapReadWriteCloserToConn(conn, realConn)
102 _ = p.l.PutConn(wrapConn)
103}
104
105func (p *HTTP2HTTPSPlugin) Name() string {
106 return PluginHTTP2HTTPS

Callers

nothing calls this directly

Calls 1

PutConnMethod · 0.45

Tested by

no test coverage detected