• zhenwei pi's avatar
    Add listeners info string for 'INFO' command · 0c4d2fcc
    zhenwei pi authored
    
    
    Suggested by Oran, add necessary listeners information in 'INFO'
    command. It would be helpful for debug.
    
    Example of this:
    127.0.0.1:6379> INFO SERVER
    redis_version:255.255.255
    ...
    listener0:name=tcp,bind=127.0.0.1,port=6380
    listener1:name=unix,bind=/run/redis.sock
    listener2:name=tls,bind=127.0.0.1,port=6379
    ...
    Signed-off-by: default avatarzhenwei pi <pizhenwei@bytedance.com>
    0c4d2fcc
connection.c 5.54 KB