struct msg * dnode_rsp_recv_next(struct context *ctx, struct conn *conn, bool alloc) { ASSERT(!conn->dnode_client && !conn->dnode_server); conn->last_received = time(NULL); return rsp_recv_next(ctx, conn, alloc); }
struct msg * dnode_rsp_recv_next(struct context *ctx, struct conn *conn, bool alloc) { ASSERT(conn->type == CONN_DNODE_PEER_SERVER); conn->last_received = time(NULL); return rsp_recv_next(ctx, conn, alloc); }