You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am a library writer, the library's user may do some checking logic in business layer in onConnect callback. In some situation, the user would like to close the connection when checking failed. I cant control the user's code, so I came here to see whether there is any solution. @michael-grunder
https://github.com/redis/hiredis/blob/master/async.c#L620
If I call redisAsyncDisconnect() in the onConnect callback, the redisContext pointer "c" will point to a freed memory, this might make a crash.
may be, a REDIS_IN_CALLBACK like flag which protecting the context object will help?
The text was updated successfully, but these errors were encountered: