• antirez's avatar
    Use clientHasPendingReplies() in flushSlavesOutputBuffers() · a26d5ca4
    antirez authored
    The old version only flushed data to slaves if there were strings
    pending in the client->reply list. Now also static buffers are flushed.
    Does not help to free memory (which is the only use we have right now in
    the fuction), but is more correct conceptually, and may be used in
    other contexts.
    a26d5ca4
networking.c 65.5 KB