Re: SSL SNI - Mailing list pgsql-hackers

From Tom Lane
Subject Re: SSL SNI
Date
Msg-id 878795.1623080064@sss.pgh.pa.us
Whole thread Raw
In response to Re: SSL SNI  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Responses Re: SSL SNI  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
Peter Eisentraut <peter.eisentraut@enterprisedb.com> writes:
> Patch attached.  Empty host string was handled implicitly by the IP 
> detection expression, but I added an explicit check for sanity.  (I 
> wasn't actually able to get an empty string to this point, but it's 
> clearly better to be prepared for it.)

Yeah, I'd include the empty-string test just because it's standard
practice in this area of libpq.  Whether those tests are actually
triggerable in every case is obscure, but ...

Patch looks sane by eyeball, though I didn't test it.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: SQL-standard function body
Next
From: Robert Haas
Date:
Subject: Re: libpq debug log