Skip to content

Commit

Permalink
Merge pull request #73037 from wojtek-t/automated-cherry-pick-of-#720…
Browse files Browse the repository at this point in the history
…53-upstream-release-1.13

Automated cherry pick of #72053 upstream release 1.13
  • Loading branch information
k8s-ci-robot committed Jan 17, 2019
2 parents f5d6de3 + c04518b commit 0cd9833
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 0cd9833

Please sign in to comment.