[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnutls-dev] Work in progress: GnuTLS 2.2 release notes on API chang
From: |
Nikos Mavrogiannopoulos |
Subject: |
Re: [gnutls-dev] Work in progress: GnuTLS 2.2 release notes on API changes |
Date: |
Wed, 21 Nov 2007 22:21:55 +0200 |
User-agent: |
KMail/1.9.6 (enterprise 0.20070907.709405) |
On Sunday 18 November 2007, Simon Josefsson wrote:
> > What I had thought then was to make this parsing routine output the
> > result in a gnutls_priority_st structure and then associate this
> > struction with every session. If found that solution complex then...
>
> How about implementing the simple gnutls_set_priority function now, and
> if it turns out that it is actually a performance bottle-neck for some
> applications, we can add a gnutls_parse_priority and a new
> gnutls_set_preparsed_priority function to handle that. I think for 90 %
> of the applications, the inefficiency doesn't matter. Premature
> optimization is the root of all evil etc...
As it turns out using the current api with the strings, it might be more
convenient if the priorities are parsed initially and cached. That is because
on a server you don't want to print a parsing error of the priority string
on the first connection. That has to be done while parsing the configuration
file or command line. If I find some time this week I'll update the
repository.
regards,
Nikos
- [gnutls-dev] Work in progress: GnuTLS 2.2 release notes on API changes, Simon Josefsson, 2007/11/14
- Re: [gnutls-dev] Work in progress: GnuTLS 2.2 release notes on API changes, Andreas Metzler, 2007/11/14
- Re: [gnutls-dev] Work in progress: GnuTLS 2.2 release notes on API changes, Simon Josefsson, 2007/11/15
- Re: [gnutls-dev] Work in progress: GnuTLS 2.2 release notes on API changes, Nikos Mavrogiannopoulos, 2007/11/17
- Re: [gnutls-dev] Work in progress: GnuTLS 2.2 release notes on API changes, Simon Josefsson, 2007/11/18
- Re: [gnutls-dev] Work in progress: GnuTLS 2.2 release notes on API changes, Nikos Mavrogiannopoulos, 2007/11/18
- Re: [gnutls-dev] Work in progress: GnuTLS 2.2 release notes on API changes,
Nikos Mavrogiannopoulos <=
- Re: [gnutls-dev] Work in progress: GnuTLS 2.2 release notes on API changes, Sam Varshavchik, 2007/11/21
- Re: [gnutls-dev] Work in progress: GnuTLS 2.2 release notes on API changes, Nikos Mavrogiannopoulos, 2007/11/22
- Re: [gnutls-dev] Work in progress: GnuTLS 2.2 release notes on API changes, Andreas Metzler, 2007/11/15