summaryrefslogtreecommitdiffstats
path: root/internal/handler/submit.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/handler/submit.go')
-rw-r--r--internal/handler/submit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/handler/submit.go b/internal/handler/submit.go
index 2822488..712d6a5 100644
--- a/internal/handler/submit.go
+++ b/internal/handler/submit.go
@@ -29,7 +29,7 @@ func (s *Submit) ServeHTTP(w http.ResponseWriter, r *http.Request) {
return
}
- r.Body = http.MaxBytesReader(w, r.Body, 10*1024*1024)
+ r.Body = http.MaxBytesReader(w, r.Body, 11*1024*1024) // wire size, see relay.maxPayloadBytes
defer r.Body.Close()
if err := s.relay.Forward(r.Body); err != nil {