summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/client/src/client.h
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2010-07-23 03:13:48 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-07-23 04:28:53 -0700
commitdbab7f87b6fbcc4d1f518e6f98101331df51ce4a (patch)
treeb22ee90a8823f98f99d178185756ccac8a83e15e /xlators/protocol/client/src/client.h
parent9c2753d1bee735cb74968106c7ce8ca1460504c6 (diff)
client protocol should send the fops only after handshake
Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1195 (crash in protocol server due to unauthenticated fop request..) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1195
Diffstat (limited to 'xlators/protocol/client/src/client.h')
-rw-r--r--xlators/protocol/client/src/client.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/protocol/client/src/client.h b/xlators/protocol/client/src/client.h
index b6aff1fba..234df4e5f 100644
--- a/xlators/protocol/client/src/client.h
+++ b/xlators/protocol/client/src/client.h
@@ -42,6 +42,7 @@ typedef struct clnt_conf {
struct list_head saved_fds;
pthread_mutex_t lock;
int connecting;
+ int connected;
struct timeval last_sent;
struct timeval last_received;