[MASSMAIL]pgsql: Refactor libpq state machine for negotiating encryption - Mailing list pgsql-committers

From Heikki Linnakangas
Subject [MASSMAIL]pgsql: Refactor libpq state machine for negotiating encryption
Date
Msg-id E1rtdlT-001383-HT@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: Refactor libpq state machine for negotiating encryption
Re: pgsql: Refactor libpq state machine for negotiating encryption
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Thomas Munro
Date:
Subject: pgsql: Use streaming I/O in ANALYZE.
Next
From: Heikki Linnakangas
Date:
Subject: [MASSMAIL]pgsql: Silence perlcritic warnings in new libpq tests