From: | Daniel Gustafsson <dgustafsson(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Make SASL max message length configurable |
Date: | 2024-10-23 14:17:05 |
Message-ID: | E1t3cAc-00251Y-9l@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(dot)champion(at)enterprisedb(dot)com>
Reviewed-by: Daniel Gustafsson <daniel(at)yesql(dot)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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Alexander Korotkov | 2024-10-23 16:21:02 | Re: pgsql: Implement pg_wal_replay_wait() stored procedure |
Previous Message | Daniel Gustafsson | 2024-10-23 13:04:11 | pgsql: doc: Fix INSERT statement syntax for identity columns |