MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / pause_message_begin_cb

Function pause_message_begin_cb

libs/qhttpserver/http-parser/test.c:2044–2050  ·  view source on GitHub ↗

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. */

Source from the content-addressed store, hash-verified

2042 * settings to point to the _dontcall variety so that we can verify that
2043 * the pause actually did, you know, pause. */
2044int
2045pause_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
2052int
2053pause_header_field_cb (http_parser *p, const char *buf, size_t len)

Callers

nothing calls this directly

Calls 2

http_parser_pauseFunction · 0.85
message_begin_cbFunction · 0.85

Tested by

no test coverage detected