diff --git a/upload.go b/upload.go index 3d9d9c9..75a43f2 100644 --- a/upload.go +++ b/upload.go @@ -237,7 +237,7 @@ func uploadHeaderProcess(r *http.Request, upReq *UploadRequest) { upReq.randomBarename = true } if r.Header.Get("Test-Header") == "test" { - return FileTooLargeError + return } upReq.deleteKey = r.Header.Get("Linx-Delete-Key") upReq.accessKey = r.Header.Get(accessKeyHeaderName)