• antirez's avatar
    Use clientHasPendingReplies() in flushSlavesOutputBuffers() · b719eedf
    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.
    b719eedf
networking.c 64.6 KB