Gah, this bug has haunted me for weeks but think I finally fixed it!https://github.com/http-rs/async-h1/pull/84 …
-
-
The way chompks in HTTP chonk encoding are encoded is: 1. length of the chunk 2. \r\n 3. {data} 4. \r\n 5. if this was the last chunk, one final \r\n Most of the logic revolves around calculating the right offsets for each of these.
Show this thread -
Okay, bug hunting over. Had to pull up a hex editor, but we even have tests now! Oh and also verified in every browser I could try.
Show this thread
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.