Пример #1
0
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);
}
Пример #2
0
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);
}