Commits
Martin Storsjo committed 91921dda700
Refill if HTTP_read indicated it needs more data HTTP_read wants to skip past the first payload byte, so it actually needs to have at least 144 + 1 bytes buffered. This also avoids relying on the magic 144 byte constant altogether, which could easily break if servers include less reply headers.