• Yossi Gottlieb's avatar
    Fix: redisReconnect() should clear SSL context. · d41443bd
    Yossi Gottlieb authored
    We should not attempt to keep the context and re-establish the
    TLS connection for several reasons:
    
    1. Maintain symmetry between redisConnect() and redisReconnect(), so in
    both cases an extra step is required to initiate SSL.
    2. The caller may also wish to reconfigure the SSL session and needs a
    chance to do that.
    3. It is not a practical thing to do on an async non-blocking connection
    context.
    d41443bd
hiredis.c 31.5 KB