v5.0.65: remove req.Close (server EOF after Firefox TLS)

This commit is contained in:
“Naeel”
2026-07-01 14:53:45 +04:00
parent 7af20e6568
commit 0ea3ec8120
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ terraform {
required_providers { required_providers {
nubes = { nubes = {
source = "terra.k8c.ru/nubes-test/nubes" source = "terra.k8c.ru/nubes-test/nubes"
version = "5.0.64" version = "5.0.65"
} }
} }
} }
+1 -1
View File
@@ -838,7 +838,7 @@ func (c *UniversalClient) doRequest(ctx context.Context, method, path string, pa
q.Set("endpoint", path) q.Set("endpoint", path)
req.URL.RawQuery = q.Encode() req.URL.RawQuery = q.Encode()
req.Close = true req.Close = false
req.Header.Set("Content-Type", "application/json") req.Header.Set("Content-Type", "application/json")
req.Header.Set("User-Agent", userAgent) req.Header.Set("User-Agent", userAgent)
req.Header.Set("Accept", "application/json, text/plain, */*") req.Header.Set("Accept", "application/json, text/plain, */*")
+1 -1
View File
@@ -10,7 +10,7 @@ import (
) )
var ( var (
version string = "5.0.64" version string = "5.0.65"
) )
func main() { func main() {