gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gluster-devel] client cannot reconnect


From: Emmanuel Dreyfus
Subject: Re: [Gluster-devel] client cannot reconnect
Date: Tue, 25 Sep 2012 09:29:16 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, Sep 25, 2012 at 04:16:03PM +0800, Jules Wang wrote:
> hi, Emmanuel:
>      If you are using glusterfs 3.3,  this patch 
> http://review.gluster.com/#patch,sidebyside,362,16,rpc/rpc-transport/socket/src/socket.c
>  and the following code in the patch will be helpful:

Thanks, I will try this. 

While I am there, the whole SSL patch almost applies to release-3.3, there is
the only exception of the last change:

--- a/xlators/protocol/server/src/server-rpc-fops.c
+++ b/xlators/protocol/server/src/server-rpc-fops.c
@@ -3462,7 +3462,8 @@ server3_3_release (rpcsvc_request_t *req)
 
         conn = req->trans->xl_private;
         if (!conn) {
-                req->rpc_err = GARBAGE_ARGS;
+                /* Handshake is not complete yet. */
+                req->rpc_err = SYSTEM_ERR;
                 goto out;
         }
         gf_fd_put (conn->fdtable, args.fd);

Does it makes sense to make the exact same change in 
xlators/protocol/server/src/server3_1-fops.c in order to get SSL on 
release-3.3?


-- 
Emmanuel Dreyfus
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]