lua-resty-redis
lua-resty-redis copied to clipboard
fix: include server_name in the connection pool
trafficstars
@Tieske Hi, I think we have the arg pool, and we can set the pool as [<server_name>:]<host>:<port> outside the lib. Could you describe a situation we need this special arg?
the default might reuse a connection opened with different properties, and hence is a security issue
probably this isn't even enough, see https://github.com/ledgetech/lua-resty-http/pull/206/files#diff-654e4e7b65177f9d0e6eb1d4b1c259dbR133-R143