Re: slower connect from hostnossl clients - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: slower connect from hostnossl clients
Date
Msg-id CABUevEx9JYk5XC7mckWJ2gKRqoR7fpfV7TJ87JXCRWd5667A_A@mail.gmail.com
Whole thread Raw
In response to slower connect from hostnossl clients  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: slower connect from hostnossl clients  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers


On Tue, Jun 7, 2016 at 11:24 AM, Pavel Stehule <pavel.stehule@gmail.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? 

--

pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: slower connect from hostnossl clients
Next
From: Pavel Stehule
Date:
Subject: Re: slower connect from hostnossl clients