summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/server
diff options
context:
space:
mode:
authorPranith K <pranithk@gluster.com>2011-03-25 21:43:44 +0000
committerVijay Bellur <vijay@dev.gluster.com>2011-03-26 08:39:11 -0700
commit48b0c02ba2b9c828b29ce236c838ab0e56ddab08 (patch)
tree64b8436bc601879efd4ec514141b72d74721bb33 /xlators/protocol/server
parent8b32b9ab363639888938c631882c8cfd6b00a3f5 (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
Diffstat (limited to 'xlators/protocol/server')
-rw-r--r--xlators/protocol/server/src/server.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/xlators/protocol/server/src/server.c b/xlators/protocol/server/src/server.c
index 73612719e45..967863d093d 100644
--- a/xlators/protocol/server/src/server.c
+++ b/xlators/protocol/server/src/server.c
@@ -599,6 +599,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 )
@@ -853,6 +854,8 @@ struct volume_options options[] = {
"conf-dir"},
.type = GF_OPTION_TYPE_PATH,
},
-
+ { .key = {"rpc-auth-allow-insecure"},
+ .type = GF_OPTION_TYPE_BOOL,
+ },
{ .key = {NULL} },
};