| 1810 | } |
| 1811 | |
| 1812 | void |
| 1813 | check_body_is_final (const http_parser *p) |
| 1814 | { |
| 1815 | if (messages[num_messages].body_is_final) { |
| 1816 | fprintf(stderr, "\n\n *** Error http_body_is_final() should return 1 " |
| 1817 | "on last on_body callback call " |
| 1818 | "but it doesn't! ***\n\n"); |
| 1819 | assert(0); |
| 1820 | abort(); |
| 1821 | } |
| 1822 | messages[num_messages].body_is_final = http_body_is_final(p); |
| 1823 | } |
| 1824 | |
| 1825 | int |
| 1826 | body_cb (http_parser *p, const char *buf, size_t len) |
no test coverage detected