adamreichold / zeptohttpc

Proving ground for changes to attohttpc
Apache License 2.0
11 stars 0 forks source link

Fails with "Invalid chunk size" error on some websites #7

Closed Shnatsel closed 3 years ago

Shnatsel commented 3 years ago

On some websites, e.g. http://skiperformance.com, zeptohttpc v0.2.1 fails with the following error:

Invalid chunk size

Firefox and curl work fine.

335 websites out of the top million from Feb 3 Tranco list are affected.

Tested using this code. Test tool output from all affected websites: zepto-cannot-chuck-the-chunk.tar.gz

adamreichold commented 3 years ago

Cannot reproduce anymore, but I noticed that all headers indicated deflate compression, so this was most likely a combination of #3 and #5.