• Oran Agra's avatar
    Converting more configs to use generic infra, and moving defaults to config.c · 18e72c5c
    Oran Agra authored
    Changes in behavior:
    - Change server.stream_node_max_entries from int64_t to long long, so that it can be used by the generic infra
    - standard error reply instead of "repl-backlog-size must be 1 or greater" and such
    - tls-port and a few TLS booleans were readable (config get) even when USE_OPENSSL was off (now they aren't)
    - syslog-enabled, syslog-ident, cluster-enabled, appendfilename, and supervised didn't have a get (now they do)
    - pidfile was initialized to NULL in InitServerConfig but had CONFIG_DEFAULT_PID_FILE in rewriteConfig (so the real default was "", but rewrite would cause it to be set), fixed the rewrite.
    - TLS config in server.h was uninitialized (if no tls config args were provided)
    
    Adding test for sanity and coverage
    18e72c5c
introspection.tcl 3.63 KB