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

Function chunk_header_cb

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

Source from the content-addressed store, hash-verified

1911}
1912
1913int
1914chunk_header_cb (http_parser *p)
1915{
1916 assert(p == parser);
1917 int chunk_idx = messages[num_messages].num_chunks;
1918 messages[num_messages].num_chunks++;
1919 if (chunk_idx < MAX_CHUNKS) {
1920 messages[num_messages].chunk_lengths[chunk_idx] = p->content_length;
1921 }
1922
1923 return 0;
1924}
1925
1926int
1927chunk_complete_cb (http_parser *p)

Callers 1

pause_chunk_header_cbFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected