Convenience wrapper for when we simply can't parse. */
| 155 | |
| 156 | /* Convenience wrapper for when we simply can't parse. */ |
| 157 | static struct io_plan *bad_req(struct io_conn *conn, |
| 158 | struct client *c, |
| 159 | const u8 *msg_in) |
| 160 | { |
| 161 | return bad_req_fmt(conn, c, msg_in, "could not parse request"); |
| 162 | } |
| 163 | |
| 164 | /*~ This plan simply says: read the next packet into 'c->msg_in' (parent 'c'), |
| 165 | * and then call handle_client with argument 'c' */ |
no test coverage detected