Because we set max body length only after reading in the header, the body could be bigger than client_max_body_size.
When reading with buffersize 80k we would read the whole head and remaining body in one recv and set the body before being able to set m_maxBodySize in Request.
Because we set max body length only after reading in the header, the body could be bigger than client_max_body_size. When reading with buffersize 80k we would read the whole head and remaining body in one recv and set the body before being able to set m_maxBodySize in Request.