We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a3e8b8 commit 176657dCopy full SHA for 176657d
pkg/util/utilfn/streamtolines.go
@@ -20,7 +20,9 @@ type lineBuf struct {
20
inLongLine bool
21
}
22
23
-const maxLineLength = 128 * 1024
+// needs to be large enough to read the largest RPC packet
24
+// there are some legacy file transfer packets that can send up to 32m (base64 encoded)
25
+const maxLineLength = 64 * 1024 * 1024
26
27
func ReadLineWithTimeout(ch chan LineOutput, timeout time.Duration) (string, error) {
28
select {
0 commit comments