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
End of header detection could be improved avoid scanning through the entire buffer each try_build_request and to put off header counting until all of them are received. This probably overlaps with #2 since it'll require tracking the current number of bytes
The text was updated successfully, but these errors were encountered:
issue #3
- cleanup end of headers detection
- scan incrementally with a cursor instead of looking
through the whole thing every time
- fix body_bytes_read calculation
- body_bytes_read tracks the number of body bytes that were
read that came in the with final chunk of header data
- an extra calculation was zeroing out this value. If all data
came in a single read-chunk, then content-length was effectively
ignored
End of header detection could be improved avoid scanning through the entire buffer each
try_build_request
and to put off header counting until all of them are received. This probably overlaps with #2 since it'll require tracking the current number of bytesThe text was updated successfully, but these errors were encountered: