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

Function body_cb

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

Source from the content-addressed store, hash-verified

1823}
1824
1825int
1826body_cb (http_parser *p, const char *buf, size_t len)
1827{
1828 assert(p == parser);
1829 strlncat(messages[num_messages].body,
1830 sizeof(messages[num_messages].body),
1831 buf,
1832 len);
1833 messages[num_messages].body_size += len;
1834 check_body_is_final(p);
1835 // printf("body_cb: '%s'\n", requests[num_messages].body);
1836 return 0;
1837}
1838
1839int
1840count_body_cb (http_parser *p, const char *buf, size_t len)

Callers 1

pause_body_cbFunction · 0.85

Calls 2

strlncatFunction · 0.85
check_body_is_finalFunction · 0.85

Tested by

no test coverage detected