miyagawa/Starman — pull request #42 by pmakholm (2012-03-08 10:26:42+00:00)
Title: Ensure that chunk buffer contains terminating HTTP newline

If sysread() returns content just short of the termination HTTP newline, then
the content of the chunk is removed from $chunk_buffer while eventually
leaving the HTTP newline. This breaks the invariant that $chunk_buffer will
always start with the size of the next chunk.