Commit c853239a authored by antirez's avatar antirez
Browse files

Top comment for prepareClientToWrite() clarified.

We don't write the output buffer to the client socket for slaves only if
the slave is not online.
parent 5d0f408d
......@@ -117,8 +117,8 @@ redisClient *createClient(int fd) {
* loop so that when the socket is writable new data gets written.
*
* If the client should not receive new data, because it is a fake client
* or a slave, or because the setup of the write handler failed, the function
* returns REDIS_ERR.
* or a slave not yet online, or because the setup of the write handler
* failed, the function returns REDIS_ERR.
*
* Typically gets called every time a reply is built, before adding more
* data to the clients output buffers. If the function returns REDIS_ERR no
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment