diff options
| author | Pranith K <pranithk@gluster.com> | 2011-03-26 11:42:11 +0000 | 
|---|---|---|
| committer | Vijay Bellur <vijay@dev.gluster.com> | 2011-03-29 05:32:52 -0700 | 
| commit | 5d0255f73bad9edd3a620712d33228074978ad3f (patch) | |
| tree | ea1062214420849956af00c29e6be2afea79665f | |
| parent | 36c30421fe2a5fd4edc050a49f1f2a08a3cbad78 (diff) | |
protocol/server: change allow_insecure option in reconfigure
Signed-off-by: Pranith Kumar K <pranithk@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 2582 (allow option to accept messages from insecure ports)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2582
| -rw-r--r-- | xlators/protocol/server/src/server.c | 5 | 
1 files changed, 4 insertions, 1 deletions
diff --git a/xlators/protocol/server/src/server.c b/xlators/protocol/server/src/server.c index 650b66bf1de..bbc7a258501 100644 --- a/xlators/protocol/server/src/server.c +++ b/xlators/protocol/server/src/server.c @@ -625,6 +625,7 @@ reconfigure (xlator_t *this, dict_t *options)                  goto out;          } +        (void) rpcsvc_set_allow_insecure (rpc_conf, options);          list_for_each_entry (listeners, &(rpc_conf->listeners), list) {                  if (listeners->trans != NULL) {                          if (listeners->trans->reconfigure ) @@ -878,6 +879,8 @@ struct volume_options options[] = {                      "conf-dir"},            .type  = GF_OPTION_TYPE_PATH,          }, - +        { .key   = {"rpc-auth-allow-insecure"}, +          .type  = GF_OPTION_TYPE_BOOL, +        },          { .key   = {NULL} },  };  | 
