Start sending immediately instead of waiting for another loop

This commit is contained in:
Vitaliy Filippov
2020-03-02 00:20:28 +03:00
parent 9d96e4bf0b
commit 79839ec31d
2 changed files with 49 additions and 36 deletions
+1
View File
@@ -219,6 +219,7 @@ class osd_t
void handle_read(ring_data_t *data, int peer_fd);
void handle_op_hdr(osd_client_t *cl);
void handle_reply_hdr(osd_client_t *cl);
bool try_send(osd_client_t & cl);
void send_replies();
void handle_send(ring_data_t *data, int peer_fd);
void outbox_push(osd_client_t & cl, osd_op_t *op);