Unverified Commit 0cd98332 authored by Kubernetes Prow Robot's avatar Kubernetes Prow Robot Committed by GitHub

Merge pull request #73037 from wojtek-t/automated-cherry-pick-of-#72053-upstream-release-1.13

Automated cherry pick of #72053 upstream release 1.13
parents f5d6de39 c04518b5
...@@ -64,7 +64,7 @@ func NewDecoder(r io.ReadCloser, d runtime.Decoder) Decoder { ...@@ -64,7 +64,7 @@ func NewDecoder(r io.ReadCloser, d runtime.Decoder) Decoder {
reader: r, reader: r,
decoder: d, decoder: d,
buf: make([]byte, 1024), buf: make([]byte, 1024),
maxBytes: 1024 * 1024, maxBytes: 16 * 1024 * 1024,
} }
} }
......
...@@ -51,7 +51,7 @@ func TestDecoder(t *testing.T) { ...@@ -51,7 +51,7 @@ func TestDecoder(t *testing.T) {
frames := [][]byte{ frames := [][]byte{
make([]byte, 1025), make([]byte, 1025),
make([]byte, 1024*5), make([]byte, 1024*5),
make([]byte, 1024*1024*5), make([]byte, 1024*1024*17),
make([]byte, 1025), make([]byte, 1025),
} }
pr, pw := io.Pipe() pr, pw := io.Pipe()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment