Convenience wrapper for when we simply can't parse. */
| 172 | |
| 173 | /* Convenience wrapper for when we simply can't parse. */ |
| 174 | static struct io_plan *bad_req(struct io_conn *conn, |
| 175 | struct client *c, |
| 176 | const u8 *msg_in) |
| 177 | { |
| 178 | return bad_req_fmt(conn, c, msg_in, "could not parse request"); |
| 179 | } |
| 180 | |
| 181 | /*~ This plan simply says: read the next packet into 'c->msg_in' (parent 'c'), |
| 182 | * and then call handle_client with argument 'c' */ |
no test coverage detected