summaryrefslogtreecommitdiffstats
path: root/rpc/rpc-lib/src/rpc-transport.h
diff options
context:
space:
mode:
authorshishir gowda <shishirng@gluster.com>2011-05-31 08:19:18 +0000
committerAnand Avati <avati@gluster.com>2011-05-31 09:12:04 -0700
commit02443793c6bf3453c7a937737f5159c060ef6504 (patch)
tree1246c22bc6b5c8b121b1121e84af03c12a2cbeb5 /rpc/rpc-lib/src/rpc-transport.h
parent24c9e2cbe6d1d95ce7a7eccec14dd3ef034a0347 (diff)
Introduce client-allow-insecure xlator-option.
Allows glusterfs clients to bind to any port and does not restrict it to 1024. This is a xlator-option only, and is not supported in volume set cmd. The reason is, few clients may choose this, and few may not. Hence only supported as a xlator-option during mount time. For this to work with glusterfs, server.allow-insecure should be set to on Signed-off-by: shishir gowda <shishirng@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2868 (Add xlator-option to support insecure-bind for clients) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2868
Diffstat (limited to 'rpc/rpc-lib/src/rpc-transport.h')
-rw-r--r--rpc/rpc-lib/src/rpc-transport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpc/rpc-lib/src/rpc-transport.h b/rpc/rpc-lib/src/rpc-transport.h
index 9db24c09f4e..52f0cb6f594 100644
--- a/rpc/rpc-lib/src/rpc-transport.h
+++ b/rpc/rpc-lib/src/rpc-transport.h
@@ -212,6 +212,7 @@ struct rpc_transport {
uint64_t total_bytes_write;
struct list_head list;
+ int client_bind_insecure;
};
struct rpc_transport_ops {