Home
last modified time | relevance | path

Searched refs:disconnect (Results 1 – 3 of 3) sorted by relevance

/redis-3.2.3/deps/hiredis/
H A Dtest.c68 static int disconnect(redisContext *c, int keep_fd) { in disconnect() function
97 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()
H A DREADME.md129 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 the
252 On a disconnect, the `status` argument is set to `REDIS_OK` when disconnection was initiated by the
256 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 will
260 return `REDIS_ERR`. The function to set the disconnect callback has the following prototype:
/redis-3.2.3/
H A D00-RELEASENOTES1693 * [NEW] CLIENT KILL TYPE MASTER, to kill (disconnect) masters from slaves.