v5.0.73: req.Close=true — force new TCP per request
This commit is contained in:
@@ -847,6 +847,9 @@ func (c *UniversalClient) doRequest(ctx context.Context, method, path string, pa
|
||||
}
|
||||
req.URL.RawQuery = rawQuery
|
||||
|
||||
// Форсируем новое TCP-соединение: DDoS-Guard может блочить POST на keep-alive
|
||||
req.Close = true
|
||||
|
||||
req.Header.Set("User-Agent", userAgent)
|
||||
req.Header.Set("Accept", "*/*")
|
||||
if body != nil {
|
||||
|
||||
Reference in New Issue
Block a user