aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Jacobs <jacobsa@google.com>2015-02-23 10:44:39 +1100
committerAndrew Gerrand <adg@golang.org>2015-02-22 23:52:44 +0000
commitd5630142fdba6280c47458cf30165d3d62d44fc3 (patch)
tree17282320311f4e07016a30207e551c9115af6333
parent02d80b9e937aa1ea142bac016f35011bae72907f (diff)
downloadgo-d5630142fdba6280c47458cf30165d3d62d44fc3.tar.gz
go-d5630142fdba6280c47458cf30165d3d62d44fc3.zip
net/http: Removed some unused constants in request.go.
Change-Id: I05cdf357249166a45105703e9317793aa2088844 Reviewed-on: https://go-review.googlesource.com/5560 Reviewed-by: Andrew Gerrand <adg@golang.org>
-rw-r--r--src/net/http/request.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/net/http/request.go b/src/net/http/request.go
index f7a7f19b9b..639a579bdf 100644
--- a/src/net/http/request.go
+++ b/src/net/http/request.go
@@ -25,9 +25,6 @@ import (
)
const (
- maxValueLength = 4096
- maxHeaderLines = 1024
- chunkSize = 4 << 10 // 4 KB chunks
defaultMaxMemory = 32 << 20 // 32 MB
)