joyent/http-parser — pull request #159 by vincentbernat (2013-08-30 15:19:15+00:00)
Title: Add two hooks to be executed when a chunk is downloaded.

One hook is executed right before receiving a new chunk. The second
one is executed just after. parsertrace.c is updated to use those
hooks for display.

I am using this for experimentation with rendering. This is more reliable than looking at timestamps to know where chunks start and end.