Skip to content
This repository has been archived by the owner on Oct 20, 2024. It is now read-only.

notmycode-labs/handle-lg-file-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Explain:

This code processes multipart form data in 32MB chunks (`r.ParseMultipartForm(32 << 20)`) to manage large files efficiently, and it copies files to the destination in chunks (`io.Copy`) instead of loading them entirely into memory. These practices enable the server to handle file uploads up to 10GB while avoiding memory exhaustion.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages