Skip to content
This repository was archived by the owner on Nov 6, 2022. It is now read-only.

Conversation

@vincentbernat
Copy link

The first commit is related to another pull request introducing hooks to notify chunk beginning and completion. I will rebase the request once pull request #159 is merged.

Vincent Bernat added 5 commits September 2, 2013 15:49
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.
Instead, we rely on the possibility to feed the parser
incrementally. Therefore, the `on_body` event is triggered more often.
Example:

    (printf 'GET /watch?v=3E3cL8uWQbw HTTP/1.1\nHost: www.youtube.com\n\n' ; sleep 1) | \
        unbuffer -p nc www.youtube.com 80  | \
        ./parsertrace -r -
Instead of providing a file, an HTTP URL can be provided. A simple
HTTP/1.1 request will be done and the result will be parsed
incrementally by the parser.
@jasnell
Copy link
Member

jasnell commented Oct 26, 2015

Closing due to lack of activity. If this is something we still want to pursue, the PR needs to be rebased and updated to current master

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants