Glossary: Go Beyond the Basics
http.MaxBytesReader
A Go function that wraps a request body so that reading stops with an error after a set number of bytes, such as 64 KB. It stops clients from sending huge bodies that would use up the server's memory.