• Jan-Erik Rediger's avatar
    Implement a reconnect method for the client context · d9e0b0f6
    Jan-Erik Rediger authored
    Originally implemented by @abedra as part of #306.
    
    In case a write or read times out, we force an error state, because we
    can't guarantuee that the next read will get the right data.
    Instead we need to reconnect to have a clean-state connection, which is
    now easily possible with this method.
    d9e0b0f6
hiredis.h 8.87 KB