pgsql: Make SASL max message length configurable

Поиск
Список
Период
Сортировка
Искать

pgsql: Make SASL max message length configurable

От:
Daniel Gustafsson <dgustafsson@postgresql.org>
Дата:
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 
Reviewed-by: Daniel Gustafsson 
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(-)

FAQ