alphazero / jredis

Java Client and Connectors for Redis
http://code.google.com/p/jredis/
Apache License 2.0
315 stars 136 forks source link

auto-detect version compliance #27

Open alphazero opened 13 years ago

alphazero commented 13 years ago

It may be helpful for new users who don't use the correct version of Redis with JRedis.

Spec is simply to issue INFO on connect and matching of "version" element to RI spec'd baseline. Should throw RedisException to indicate user level error. The INFO should be sent after the optional AUTH/SELECT on connect.

Low priority as it has limited shelf life and only helps new users.

alphazero commented 13 years ago

Ask Salvatore to add redis version to INFO for 1.2.6.