| 198 | } |
| 199 | |
| 200 | static int on_body(http_parser* p, const char* data, size_t length) |
| 201 | { |
| 202 | DataDecoder* decoder = (DataDecoder*) p->data; |
| 203 | CHECK_NOTNULL(decoder->request); |
| 204 | decoder->request->body.append(data, length); |
| 205 | return http_parsing::SUCCESS; |
| 206 | } |
| 207 | |
| 208 | static int on_message_complete(http_parser* p) |
| 209 | { |
nothing calls this directly
no outgoing calls
no test coverage detected