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
When server closes the connection, either by shutting down or some protocol irregularity, the libuv adapter crashes in redisLibuvPoll() when calling redisAsyncHandleWrite(). Reason for the crash is that the prior call to redisAsyncHandleRead() frees the context.
I have solved it by placing redisAsyncHandleWrite() before redisAsyncHandleRead(), however, considering that this happens because redisBufferRead(c) == REDIS_ERR causes the __redisAsyncDisconnect(ac) call, the better solution would be to make redisAsyncHandleRead() and redisAsyncHandleWrite() return status.
The text was updated successfully, but these errors were encountered:
I think this may have been fixed in 9ce15c4. Please reopen if that actually doesn't solve the problem and I will take the time to replicate the bug and submit a patch.
When server closes the connection, either by shutting down or some protocol irregularity, the libuv adapter crashes in
redisLibuvPoll()
when callingredisAsyncHandleWrite()
. Reason for the crash is that the prior call toredisAsyncHandleRead()
frees the context.I have solved it by placing
redisAsyncHandleWrite()
beforeredisAsyncHandleRead()
, however, considering that this happens becauseredisBufferRead(c) == REDIS_ERR
causes the__redisAsyncDisconnect(ac)
call, the better solution would be to makeredisAsyncHandleRead()
andredisAsyncHandleWrite()
return status.The text was updated successfully, but these errors were encountered: