Re: slower connect from hostnossl clients

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: slower connect from hostnossl clients
Date: 2016-06-07 09:29:19
Message-ID: CABUevEx9JYk5XC7mckWJ2gKRqoR7fpfV7TJ87JXCRWd5667A_A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Jun 7, 2016 at 11:24 AM, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
wrote:

> Hi
>
> I am testing speed of connection to Postgres.
>
> The ssl connection is slower, and it is expected. But when I configure
> pg_hba.conf to disable ssl via hostnossl, then ssl is not used, but the
> speed is similar to ssl.
>
> Is it expected behave?
>
>
That's definitely not expected behavior. hostnossl should turn off ssl
which should turn off the overhead completely. Does it make a difference if
you also disable it from the client side?

--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2016-06-07 09:31:55 Re: slower connect from hostnossl clients
Previous Message Pavel Stehule 2016-06-07 09:24:12 slower connect from hostnossl clients