zephirworks/libvmod-redis — pull request #1 by LuitvD (2011-12-05 16:59:28+00:00)
Title: This makes libvmod-redis much more useful

Fix to make vmod_redis reconnect when redis-server has closed the connection, making hiredis fail with REDIS_ERR_EOF. Connecting is tried once and the current command re-issued once per call of redis_common().

Simply put: have a period of inactivity, and the part of your VCL using Redis is rendered useless because the Redis server will just disconnect you. This will detect that and try (once) to reconnect whenever this has happened and a new command is issued.

To be honest, I can't really believe nobody has done this before. Is this vmod that unpopular?