mirror of
https://github.com/WJQSERVER-STUDIO/ghproxy.git
synced 2026-02-03 08:11:11 +08:00
update nest: use dispatcher to get lower allocs(4.3.5-rc.0)
This commit is contained in:
parent
3adc110298
commit
3d05902824
7 changed files with 299 additions and 86 deletions
|
|
@ -134,7 +134,7 @@ func ChunkedProxyRequest(ctx context.Context, c *touka.Context, u string, cfg *c
|
|||
|
||||
var reader io.Reader
|
||||
|
||||
reader, _, err = processLinks(bodyReader, c.Request.Host, cfg, c)
|
||||
reader, _, err = processLinks(bodyReader, c.Request.Host, cfg, c, bodySize)
|
||||
c.WriteStream(reader)
|
||||
if err != nil {
|
||||
c.Errorf("%s %s %s %s %s Failed to copy response body: %v", c.ClientIP(), c.Request.Method, u, c.UserAgent(), c.Request.Proto, err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue