Permalink
Browse files

Merge pull request #73039 from wojtek-t/automated-cherry-pick-of-#720…

…53-upstream-release-1.11

Automated cherry pick of #72053 upstream release 1.11
  • Loading branch information...
k8s-ci-robot committed Jan 18, 2019
2 parents 640dd3c + 7f3a2f8 commit 65ecaf0671341311ce6aea0edab46ee69f65d59e
@@ -64,7 +64,7 @@ func NewDecoder(r io.ReadCloser, d runtime.Decoder) Decoder {
reader: r,
decoder: d,
buf: make([]byte, 1024),
maxBytes: 1024 * 1024,
maxBytes: 16 * 1024 * 1024,
}
}

@@ -51,7 +51,7 @@ func TestDecoder(t *testing.T) {
frames := [][]byte{
make([]byte, 1025),
make([]byte, 1024*5),
make([]byte, 1024*1024*5),
make([]byte, 1024*1024*17),
make([]byte, 1025),
}
pr, pw := io.Pipe()

0 comments on commit 65ecaf0

Please sign in to comment.