pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Refactor libpq state machine for negotiating encryption
Date: Mon, 08 Apr 2024 01:25:40 +0000
Message-ID: <E1rtdlT-001383-HT@gemulon.postgresql.org> (raw)

Refactor libpq state machine for negotiating encryption

This fixes the few corner cases noted in commit 705843d294, as shown
by the changes in the test.

Author: Heikki Linnakangas, Matthias van de Meent
Reviewed-by: Jacob Champion

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/05fd30c0e730bd5238f62d2fdfdcfaf28b16b225

Modified Files
--------------
src/interfaces/libpq/fe-connect.c                  | 427 ++++++++++++---------
src/interfaces/libpq/libpq-int.h                   |  14 +-
.../libpq_encryption/t/001_negotiate_encryption.pl |  26 +-
3 files changed, 265 insertions(+), 202 deletions(-)



view thread (8+ messages)  latest in thread

Message-ID: <E1rtdlT-001383-HT@gemulon.postgresql.org>
Permalink:  ../E1rtdlT-001383-HT@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rtdlT-001383-HT@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: heikki.linnakangas@iki.fi, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Refactor libpq state machine for negotiating encryption
  In-Reply-To: <E1rtdlT-001383-HT@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox