Custom socketClientFlags with the STREAM_CLIENT_PERSISTENT flag set will not work with useSsl => true, due to attempting to re-enable encryption when it is already active.
~Could probably check for the persistent flag in the bitmask and skip the SSL init conditionally.~
Not that simple, as it could be an already open connection or a fresh one.
Custom
socketClientFlags
with theSTREAM_CLIENT_PERSISTENT
flag set will not work withuseSsl => true
, due to attempting to re-enable encryption when it is already active.~Could probably check for the persistent flag in the bitmask and skip the SSL init conditionally.~ Not that simple, as it could be an already open connection or a fresh one.
What steps will reproduce the problem?
Have a redis connection configured with:
and do multiple requests.
What's expected?
Connection is reused successfully.
What do you get instead?
Additional info