func (req *Request) ReadLimitBody(r *bufio.Reader, maxBodySize int) error {
	req.resetSkipHeader()
	return req.readLimitBody(r, maxBodySize, false)
}
func (req *Request) ReadLimitBody(r *bufio.Reader, maxBodySize int) error {
	req.resetSkipHeader()
	return req.readLimitBody(r, maxBodySize, false)
}
func ( req * Request ) ReadLimitBody ( r * bufio . Reader , maxBodySize int ) error { req . resetSkipHeader ( ) return req . readLimitBody ( r , maxBodySize , false ) }
// ReadLimitBody reads request from the given r, limiting the body size.
//
// If maxBodySize > 0 and the body size exceeds maxBodySize,
// then ErrBodyTooLarge is returned.
//
// RemoveMultipartFormFiles or Reset must be called after
// reading multipart/form-data request in order to delete temporarily
// uploaded files.
//
// If MayContinue returns true, the caller must:
//
//     - Either send StatusExpectationFailed response if request headers don't
//       satisfy the caller.
//     - Or send StatusContinue response before reading request body
//       with ContinueReadBody.
//     - Or close the connection.
//
// io.EOF is returned if r is closed before reading the first header byte.
ReadLimitBody reads request from the given r limiting the body size . If maxBodySize > 0 and the body size exceeds maxBodySize then ErrBodyTooLarge is returned . RemoveMultipartFormFiles or Reset must be called after reading multipart / form - data request in order to delete temporarily uploaded files . If MayContinue returns true the caller must : - Either send StatusExpectationFailed response if request headers don t satisfy the caller . - Or send StatusContinue response before reading request body with ContinueReadBody . - Or close the connection . io . EOF is returned if r is closed before reading the first header byte .