• git-hulk's avatar
    Add support of RESP3 attribute type · 5b253d89
    git-hulk authored
    Currently, Redis DEBUG PROTOCOL 'attrib' command will return an
    attribute type, but hiredis doesn't support it yet. So it got the
    protocol type error:
    
    ```
    127.0.0.1:6379>  DEBUG PROTOCOL attrib
    Error: Protocol error, got "|" as reply type byte
    ```
    
    After apply this PR, it should reply:
    
    ```
    127.0.0.1:6379> DEBUG PROTOCOL attrib
    1# "key-popularity"
    1# 1) "key:123"
       2) (integer) 90
    ```
    5b253d89
test.c 85.1 KB