diff options
author | David CARLIER <devnexen@gmail.com> | 2022-04-20 07:29:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-20 09:29:37 +0300 |
commit | aba2865c8680326e148ba6eb4cb6f6e7ab5119a3 (patch) | |
tree | 9ab0f3540f478d41eff01972bd5bbad253331650 /src/config.c | |
parent | a1c85eebf4aaac0727456329e2f18bd99d23dfbe (diff) | |
download | redis-aba2865c8680326e148ba6eb4cb6f6e7ab5119a3.tar.gz |
Add socket-mark-id support for marking sockets. (#10349)
Add a configuration option to attach an operating system-specific identifier to Redis sockets, supporting advanced network configurations using iptables (Linux) or ipfw (FreeBSD).
Diffstat (limited to 'src/config.c')
-rw-r--r-- | src/config.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.c b/src/config.c index c4b893c28..d5e347892 100644 --- a/src/config.c +++ b/src/config.c @@ -2977,6 +2977,7 @@ standardConfig static_configs[] = { /* Unsigned int configs */ createUIntConfig("maxclients", NULL, MODIFIABLE_CONFIG, 1, UINT_MAX, server.maxclients, 10000, INTEGER_CONFIG, NULL, updateMaxclients), createUIntConfig("unixsocketperm", NULL, IMMUTABLE_CONFIG, 0, 0777, server.unixsocketperm, 0, OCTAL_CONFIG, NULL, NULL), + createUIntConfig("socket-mark-id", NULL, IMMUTABLE_CONFIG, 0, UINT_MAX, server.socket_mark_id, 0, INTEGER_CONFIG, NULL, NULL), /* Unsigned Long configs */ createULongConfig("active-defrag-max-scan-fields", NULL, MODIFIABLE_CONFIG, 1, LONG_MAX, server.active_defrag_max_scan_fields, 1000, INTEGER_CONFIG, NULL, NULL), /* Default: keys with more than 1000 fields will be processed separately */ |