You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ever since the new buffering code, I get HttpTooLargeErrors after almost every response. It is after the handler returns and the response has been sent, and so the site continues to function. But clearly something is amiss. The requests are rather normal small requests, nothing large, nothing fancy.
in server/mod.rshandle_connection()while keep_alive loop, the Request::new() calls http::parse_request() which fails with HttpTooLargeError at some point around this keep_alive loop, which means that read_into_buf() must have returned Ok(0) which means that self.cap < v.capacity(), but I haven't looked further as to why that is for small requests that are only handled once.
The text was updated successfully, but these errors were encountered:
Ever since the new buffering code, I get
HttpTooLargeError
s after almost every response. It is after the handler returns and the response has been sent, and so the site continues to function. But clearly something is amiss. The requests are rather normal small requests, nothing large, nothing fancy.in
server/mod.rs
handle_connection()
while keep_alive
loop, theRequest::new()
callshttp::parse_request()
which fails with HttpTooLargeError at some point around this keep_alive loop, which means thatread_into_buf()
must have returnedOk(0)
which means thatself.cap < v.capacity()
, but I haven't looked further as to why that is for small requests that are only handled once.The text was updated successfully, but these errors were encountered: