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

Method Handle

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

Source from the content-addressed store, hash-verified

123}
124
125func (p *HTTPS2HTTPPlugin) Handle(conn io.ReadWriteCloser, realConn net.Conn, extraBufToLocal []byte) {
126 wrapConn := frpNet.WrapReadWriteCloserToConn(conn, realConn)
127 _ = p.l.PutConn(wrapConn)
128}
129
130func (p *HTTPS2HTTPPlugin) Name() string {
131 return PluginHTTPS2HTTP

Callers

nothing calls this directly

Calls 1

PutConnMethod · 0.45

Tested by

no test coverage detected