Re: [openssl-dev] [PATCH][OpenSSL-1.0.2] making it possible to do async session lookup during session resumption

2016-01-06 Thread Alessandro Ghedini
On Wed, Jan 06, 2016 at 06:21:13AM +, Viktor Dukhovni wrote: > On Tue, Jan 05, 2016 at 02:44:32PM -0800, Zi Lin wrote: > > > Hi OpenSSL devs, > > > > I want to propose a patch that makes OpenSSL compatible with > > asynchronous session lookup during session resumption. > > I think this is a

Re: [openssl-dev] [PATCH][OpenSSL-1.0.2] making it possible to do async session lookup during session resumption

2016-01-05 Thread Matt Caswell
On 06/01/16 06:14, Zi Lin wrote: > Hi Matt, > > thanks for your time. I am glad to see the big efforts done to make > OpenSSL code better in the master branch (and v1.1.0+). I will find a > way to start working on the master branch. A quick glance into the > master branch state machine: the

Re: [openssl-dev] [PATCH][OpenSSL-1.0.2] making it possible to do async session lookup during session resumption

2016-01-05 Thread Viktor Dukhovni
On Tue, Jan 05, 2016 at 02:44:32PM -0800, Zi Lin wrote: > Hi OpenSSL devs, > > I want to propose a patch that makes OpenSSL compatible with > asynchronous session lookup during session resumption. I think this is a bad idea. If you want distributed session caches use session tickets, and

Re: [openssl-dev] [PATCH][OpenSSL-1.0.2] making it possible to do async session lookup during session resumption

2016-01-05 Thread Zi Lin
Hi Matt, thanks for your time. I am glad to see the big efforts done to make OpenSSL code better in the master branch (and v1.1.0+). I will find a way to start working on the master branch. A quick glance into the master branch state machine: the get_prev_session call happens in process_message

Re: [openssl-dev] [PATCH][OpenSSL-1.0.2] making it possible to do async session lookup during session resumption

2016-01-05 Thread Matt Caswell
On 05/01/16 22:44, Zi Lin wrote: > Hi OpenSSL devs, > > I want to propose a patch that makes OpenSSL compatible with > asynchronous session lookup during session resumption. Currently, the > session lookup expects the session callback to return immediately with > success or failure. Now consider

[openssl-dev] [PATCH][OpenSSL-1.0.2] making it possible to do async session lookup during session resumption

2016-01-05 Thread Zi Lin
Hi OpenSSL devs, I want to propose a patch that makes OpenSSL compatible with asynchronous session lookup during session resumption. Currently, the session lookup expects the session callback to return immediately with success or failure. Now consider a cluster of hosts that want to pool the ssl