| 1301 | } |
| 1302 | |
| 1303 | static void nonurgent_flush(struct peer *peer) |
| 1304 | { |
| 1305 | peer->nonurgent_flush_timer = NULL; |
| 1306 | peer->flushing_nonurgent = true; |
| 1307 | io_wake(peer->peer_outq); |
| 1308 | } |
| 1309 | |
| 1310 | static struct io_plan *write_to_peer(struct io_conn *peer_conn, |
| 1311 | struct peer *peer) |