• Yossi Gottlieb's avatar
    Improve bind and protected-mode config handling. (#9034) · 07b0d144
    Yossi Gottlieb authored
    * Specifying an empty `bind ""` configuration prevents Redis from listening on any TCP port. Before this commit, such configuration was not accepted.
    * Using `CONFIG GET bind` will always return an explicit configuration value. Before this commit, if a bind address was not specified the returned value was empty (which was an anomaly).
    
    Another behavior change is that modifying the `bind` configuration to a non-default value will NO LONGER DISABLE protected-mode implicitly.
    07b0d144
server.tcl 21.2 KB