From dbab7f87b6fbcc4d1f518e6f98101331df51ce4a Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Fri, 23 Jul 2010 03:13:48 +0000 Subject: client protocol should send the fops only after handshake Signed-off-by: Amar Tumballi Signed-off-by: Anand V. Avati BUG: 1195 (crash in protocol server due to unauthenticated fop request..) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1195 --- xlators/protocol/client/src/client.h | 1 + 1 file changed, 1 insertion(+) (limited to 'xlators/protocol/client/src/client.h') diff --git a/xlators/protocol/client/src/client.h b/xlators/protocol/client/src/client.h index b6aff1fba9d..234df4e5f59 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; -- cgit