joyent/http-parser — Issue #70: Return value from on_body ignored.
Author: scunningham
Created: 2011-12-28 20:36:03+00:00
State: open

All callbacks check return value and set an error on non-zero except for on_body:

if (settings->on_body) settings->on_body(parser, p, to_read);

Oversight? Seems like it should work similarly to the other callbacks and was perhaps missed because it bypasses the CALLBACK macros.