• A
    Inline protocol: handle empty strings well. · 7569b210
    antirez 提交于
    This bug is from the first version of Redis. Probably the problem here
    is that before we used an SDS split function that created empty strings
    for additional spaces, like in "SET    foo          bar".
    AFAIK later we replaced it with the curretn sdssplitarg() API that has
    no such a problem. As a result, we introduced a bug, where it is no
    longer possible to do something like:
    
        SET foo ""
    
    Using the inline protocol. Now it is fixed.
    7569b210
networking.c 85.5 KB