pgsql: Make SASL max message length configurable - Mailing list pgsql-committers

From Daniel Gustafsson
Subject pgsql: Make SASL max message length configurable
Date
Msg-id E1t3cAc-00251Y-9l@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Make SASL max message length configurable

The proposed OAUTHBEARER SASL mechanism will need to allow larger
messages in the exchange, since tokens are sent directly by the
client.  Move this limit into the pg_be_sasl_mech struct so that
it can be changed per-mechanism.

Author: Jacob Champion <jacob.champion@enterprisedb.com>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/CAOYmi+nqX_5=Se0W0Ynrr55Fha3CMzwv_R9P3rkpHb=1kG7ZTQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6d16f9debae0a09a7db91d7f204bda043d04792c

Modified Files
--------------
src/backend/libpq/auth-sasl.c  | 10 +---------
src/backend/libpq/auth-scram.c |  4 +++-
src/include/libpq/sasl.h       | 13 ++++++++++++-
3 files changed, 16 insertions(+), 11 deletions(-)


pgsql-committers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: pgsql: doc: Fix INSERT statement syntax for identity columns
Next
From: Alexander Korotkov
Date:
Subject: Re: pgsql: Implement pg_wal_replay_wait() stored procedure