mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-10-01 05:02:29 +07:00
expect_split_multipart_ok() carries a comment saying the request sends "Connection: close" so the response drain ends as soon as the server has answered, but the header itself never made it into the request, so both callers kept idling until the read timeout instead. Add the header. EpilogueSplitAcrossReadsIsIgnored and InitialBoundarySplitAfterLongPreamble each drop from about 3.1s to about 0.11s.