Searched refs:disconnect (Results 1 – 3 of 3) sorted by relevance
68 static int disconnect(redisContext *c, int keep_fd) { in disconnect() function97 int fd = disconnect(dummy_ctx, 1); in connect()239 disconnect(c, 0); in test_append_formatted_commands()421 disconnect(c, 0); in test_blocking_connection()561 disconnect(c, 0); in test_throughput()
129 To disconnect and free the context the following function can be used:246 The asynchronous context can hold a disconnect callback function that is called when the252 On a disconnect, the `status` argument is set to `REDIS_OK` when disconnection was initiated by the256 The context object is always free'd after the disconnect callback fired. When a reconnect is needed,257 the disconnect callback is a good point to do so.259 Setting the disconnect callback can only be done once per context. For subsequent calls it will260 return `REDIS_ERR`. The function to set the disconnect callback has the following prototype:
1693 * [NEW] CLIENT KILL TYPE MASTER, to kill (disconnect) masters from slaves.