This commit is contained in:
wjqserver 2025-06-18 09:05:45 +08:00
parent e629b5db47
commit 933aeee518
6 changed files with 21 additions and 19 deletions

View file

@ -17,13 +17,6 @@ func GitReq(ctx context.Context, c *touka.Context, u string, cfg *config.Config,
resp *http.Response
)
go func() {
<-ctx.Done()
if resp != nil && resp.Body != nil {
resp.Body.Close()
}
}()
/*
fullBody, err := c.GetReqBodyFull()
if err != nil {