These pause_* callbacks always pause the parser and just invoke the regular * callback that tracks content. Before returning, we overwrite the parser * settings to point to the _dontcall variety so that we can verify that * the pause actually did, you know, pause. */
| 2042 | * settings to point to the _dontcall variety so that we can verify that |
| 2043 | * the pause actually did, you know, pause. */ |
| 2044 | int |
| 2045 | pause_message_begin_cb (http_parser *p) |
| 2046 | { |
| 2047 | http_parser_pause(p, 1); |
| 2048 | *current_pause_parser = settings_dontcall; |
| 2049 | return message_begin_cb(p); |
| 2050 | } |
| 2051 | |
| 2052 | int |
| 2053 | pause_header_field_cb (http_parser *p, const char *buf, size_t len) |
nothing calls this directly
no test coverage detected