complete entry

This commit is contained in:
liujian
2021-12-16 00:01:09 +08:00
parent 1aefc14b1e
commit fa4f69d758
9 changed files with 310 additions and 93 deletions

View File

@@ -12,6 +12,10 @@ type ProxyRequest struct {
*RequestReader
}
func (r *ProxyRequest) clone() *ProxyRequest {
return NewProxyRequest(r.Request(), r.remoteAddr)
}
func (r *ProxyRequest) Finish() error {
fasthttp.ReleaseRequest(r.req)
return nil