Re: slowness of _ssl.sslwrap() on first call

2014-04-29 Thread summer
Thanks for the reply. What I found is that it's always slow first time running from a particular application, but not other applications, no matter which applications I run first. -- View this message in context: http://openssl.6102.n7.nabble.com/slowness-of-ssl-sslwrap-on-first-call-tp49700p49

Re: slowness of _ssl.sslwrap() on first call

2014-04-29 Thread Jakob Bohm
On 4/25/2014 11:19 PM, summer wrote: Furthur investigation shows the slowness is happening at _ssl.c line 306, self->ctx = SSL_CTX_new(SSLv23_method()); /* Set up context */ Is this line code involving client/server communication yet? I haven't checked, but maybe SSL_CTX_new() is initializin

RE: slowness of _ssl.sslwrap() on first call

2014-04-28 Thread Michael Wojcik
> From: owner-openssl-us...@openssl.org [mailto:owner-openssl- > us...@openssl.org] On Behalf Of summer > Sent: Friday, 25 April, 2014 17:19 > > Furthur investigation shows the slowness is happening at _ssl.c line 306, > > self->ctx = SSL_CTX_new(SSLv23_method()); /* Set up context */ > > Is thi

Re: slowness of _ssl.sslwrap() on first call

2014-04-27 Thread summer
Furthur investigation shows the slowness is happening at _ssl.c line 306, self->ctx = SSL_CTX_new(SSLv23_method()); /* Set up context */ Is this line code involving client/server communication yet? -- View this message in context: http://openssl.6102.n7.nabble.com/slowness-of-ssl-sslwrap-on-

slowness of _ssl.sslwrap() on first call

2014-04-27 Thread summer
I am debugging a problem where opening a ssl connection from application A is very slow the first time (30 secs), but it's very fast in subsequent calls. In addition, in another application B, the same ssl connection is fast even for the first time. The profiler shows the slowness is caused by _ssl