forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit6d16f9d
committed
Make SASL max message length configurable
The proposed OAUTHBEARER SASL mechanism will need to allow largermessages in the exchange, since tokens are sent directly by theclient. Move this limit into the pg_be_sasl_mech struct so thatit 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.com1 parent17b4aa7 commit6d16f9d
File tree
3 files changed
+16
-11
lines changed- src
- backend/libpq
- include/libpq
3 files changed
+16
-11
lines changedLines changed: 1 addition & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
23 |
| - | |
24 |
| - | |
25 |
| - | |
26 |
| - | |
27 |
| - | |
28 |
| - | |
29 |
| - | |
30 |
| - | |
31 | 23 |
| |
32 | 24 |
| |
33 | 25 |
| |
| |||
103 | 95 |
| |
104 | 96 |
| |
105 | 97 |
| |
106 |
| - | |
| 98 | + | |
107 | 99 |
| |
108 | 100 |
| |
109 | 101 |
| |
|
Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
113 | 113 |
| |
114 | 114 |
| |
115 | 115 |
| |
116 |
| - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
117 | 119 |
| |
118 | 120 |
| |
119 | 121 |
| |
|
Lines changed: 12 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
30 |
| - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
31 | 39 |
| |
32 | 40 |
| |
33 | 41 |
| |
| |||
127 | 135 |
| |
128 | 136 |
| |
129 | 137 |
| |
| 138 | + | |
| 139 | + | |
| 140 | + | |
130 | 141 |
| |
131 | 142 |
| |
132 | 143 |
| |
|
0 commit comments
Comments
(0)