shogo82148 / Redis-Fast

fast perl binding for Redis database
https://metacpan.org/release/Redis-Fast
Other
25 stars 21 forks source link

Fixing segmentation faults when trying to connecting to unreachable hosts #120

Closed pepl closed 3 years ago

pepl commented 3 years ago

With the default reconnect==0 behaviour, we have been experiencing SEGV when Redis server connection attempts where too slow or servers temporarily not reachable.

The patches in this pull request are fixing this.

It could be that relying on redisAsyncFree only be called in DESTROY might introduce leaks for long rung processes with reconnects?

shogo82148 commented 3 years ago

thanks!