summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-05-20 08:38:36 +0000
committerGitHub <[email protected]>2020-05-20 08:38:36 +0000
commit9d7691242efb9f4cf8a2dbfa0a7b305eb68ea875 (patch)
tree3e142900c57536d907daac05aedeb0bfe5cc7ebe /service
parentf940ad480ca8caa9a9eabb9c0a69b2e63c802623 (diff)
parentd42f3e8e2874e60b39f995ad61f8087cd9dc14b3 (diff)
Merge #327
327: release 1.8.1 r=48d90782 a=48d90782 update docker image fix tests Co-authored-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'service')
-rw-r--r--service/http/request.go13
1 files changed, 5 insertions, 8 deletions
diff --git a/service/http/request.go b/service/http/request.go
index 176279df..8da5440f 100644
--- a/service/http/request.go
+++ b/service/http/request.go
@@ -2,16 +2,16 @@ package http
import (
"fmt"
- json "github.com/json-iterator/go"
- "github.com/sirupsen/logrus"
- "github.com/spiral/roadrunner"
- "github.com/spiral/roadrunner/service/http/attributes"
"io/ioutil"
- "log"
"net"
"net/http"
"net/url"
"strings"
+
+ json "github.com/json-iterator/go"
+ "github.com/sirupsen/logrus"
+ "github.com/spiral/roadrunner"
+ "github.com/spiral/roadrunner/service/http/attributes"
)
const (
@@ -95,9 +95,6 @@ func NewRequest(r *http.Request, cfg *UploadsConfig) (req *Request, err error) {
return req, err
case contentMultipart:
- b, _ := ioutil.ReadAll(r.Body)
- log.Print(string(b))
-
if err = r.ParseMultipartForm(defaultMaxMemory); err != nil {
return nil, err
}