[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gnutls] Re: gnutls_handshake() is slow and is a big lock
From: |
Nikos Mavrogiannopoulos |
Subject: |
Re: [Help-gnutls] Re: gnutls_handshake() is slow and is a big lock |
Date: |
Sat, 29 Jul 2006 14:03:21 +0200 |
User-agent: |
KMail/1.9.1 |
On Sat 29 Jul 2006 13:50, Simon Josefsson wrote:
> > And do you think that gnutls_handshake() can be used in two
> > different threads at the same time?
> If you use different gnutls_session objects in each thread, I think
> this should work. But I haven't tested it. Maybe you need extra
> copies of other structures too, used by the gnutls_session.
Yes, if a gnutls_session object is only accessed by a single thread it
works (of course the locks for libgcrypt need to be set up). The hydra
web server (http://hydra.hellug.gr) uses gnutls and works pretty much
ok.
regards,
Nikos
[Help-gnutls] Re: gnutls_handshake() is slow and is a big lock, Eric Leblond, 2006/07/29