From c45bd44319810381958984233d6b791727120cee Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Wed, 21 Nov 2018 15:06:44 +0300 Subject: [PATCH] Update MaxZipFile constant from 500mb to 1500mb --- src/cmd/go/internal/modfetch/codehost/codehost.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cmd/go/internal/modfetch/codehost/codehost.go b/src/cmd/go/internal/modfetch/codehost/codehost.go index 4205cd26bda11d..b28e66bab1ed84 100644 --- a/src/cmd/go/internal/modfetch/codehost/codehost.go +++ b/src/cmd/go/internal/modfetch/codehost/codehost.go @@ -25,9 +25,9 @@ import ( // Downloaded size limits. const ( - MaxGoMod = 16 << 20 // maximum size of go.mod file - MaxLICENSE = 16 << 20 // maximum size of LICENSE file - MaxZipFile = 500 << 20 // maximum size of downloaded zip file + MaxGoMod = 16 << 20 // maximum size of go.mod file + MaxLICENSE = 16 << 20 // maximum size of LICENSE file + MaxZipFile = 1500 << 20 // maximum size of downloaded zip file ) // A Repo represents a code hosting source.