diff options
Diffstat (limited to 'plugins/http/request.go')
-rw-r--r-- | plugins/http/request.go | 4 |
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 |