summaryrefslogtreecommitdiff
path: root/plugins/http/request.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-11-19 17:28:30 +0300
committerValery Piashchynski <[email protected]>2020-11-19 17:28:30 +0300
commit71c81a91f9f967e41310077bd26b1dedb0b49556 (patch)
treecce9cb740bae0b9acbfc15d76823174f571a0a6c /plugins/http/request.go
parente9595a5c133ff02b765c0b59913593e7f91bc4e7 (diff)
huge linters fix update
Diffstat (limited to 'plugins/http/request.go')
-rw-r--r--plugins/http/request.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/http/request.go b/plugins/http/request.go
index 69478d2b..640bdec2 100644
--- a/plugins/http/request.go
+++ b/plugins/http/request.go
@@ -8,12 +8,14 @@ import (
"net/url"
"strings"
- json "github.com/json-iterator/go"
+ j "github.com/json-iterator/go"
"github.com/spiral/roadrunner/v2"
"github.com/spiral/roadrunner/v2/interfaces/log"
"github.com/spiral/roadrunner/v2/plugins/http/attributes"
)
+var json = j.ConfigCompatibleWithStandardLibrary
+
const (
defaultMaxMemory = 32 << 20 // 32 MB
contentNone = iota + 900