hiredis icon indicating copy to clipboard operation
hiredis copied to clipboard

redisConnect multithread crash

Open sunnyinchina opened this issue 1 year ago • 1 comments

when I use a context per thread, redisConnect also crashes, can you help me?

such codes are using by several threads

redisContext* redis = redisConnect(RedisIP, nPort); redisReply reply = (redisReply)redisCommand(redis, "set hello 2023"); freeReplyObject(reply); redisFree(redis);when I use a context per thread, redisConnect also crashes, can you help me?

sunnyinchina avatar Jun 28 '23 16:06 sunnyinchina