luvit / lit

Toolkit for developing, sharing, and running luvit/lua programs and libraries.
http://lit.luvit.io/
Apache License 2.0
245 stars 58 forks source link

amendment: #305: fix missing return in decodeChunked when chunk header is missing #306

Closed truemedian closed 2 years ago

truemedian commented 2 years ago

This passed through my test case. decodeChunked should return early if it does not have enough data to process.