This commit is contained in:
2023-09-28 15:37:28 +03:00
parent d3e6309ef8
commit 35fa4af0d6
7 changed files with 253 additions and 82 deletions

View File

@@ -313,7 +313,7 @@ func (ldc *LegacyDecortClient) domp(req *http.Request, ctype string) (*http.Resp
// var resp *http.Response
// var err error
buf, _ := io.ReadAll(req.Body)
req = req.Clone(req.Context())
// req = req.Clone(req.Context())
// for i := uint64(0); i < ldc.cfg.Retries; i++ {
req.Body = io.NopCloser(bytes.NewBuffer(buf))