diff options
| author | Heikki Linnakangas | 2024-05-11 15:48:19 +0000 |
|---|---|---|
| committer | Heikki Linnakangas | 2024-05-11 15:48:19 +0000 |
| commit | 407e0b023cdb449dde65fd370c6cc48f5b8a5579 (patch) | |
| tree | c9d2e6740676f8b719370c531f9d8a00ec42c208 /src | |
| parent | 31e8f4e619d9b5856fa2bd5713cb1e2e170a9c7d (diff) | |
Change ALPN protocol ID to IANA-approved "postgresql"
"TBD-pgsql" was a placeholder until the IANA registration was
approved.
Discussion: https://www.postgresql.org/message-id/87jzk2hj2n.fsf%40wibble.ilmari.org
Discussion: https://mailarchive.ietf.org/arch/msg/tls-reg-review/9LWPzQfOpbc8dTT7vc9ahNeNaiw/
Diffstat (limited to 'src')
| -rw-r--r-- | src/include/libpq/pqcomm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/libpq/pqcomm.h b/src/include/libpq/pqcomm.h index fb93c820530..527735e3dba 100644 --- a/src/include/libpq/pqcomm.h +++ b/src/include/libpq/pqcomm.h @@ -156,8 +156,8 @@ typedef struct CancelRequestPacket * * The #define can be used to initialize a char[] vector to use directly in the API */ -#define PG_ALPN_PROTOCOL "TBD-pgsql" -#define PG_ALPN_PROTOCOL_VECTOR { 9, 'T','B','D','-','p','g','s','q','l' } +#define PG_ALPN_PROTOCOL "postgresql" +#define PG_ALPN_PROTOCOL_VECTOR { 10, 'p','o','s','t','g','r','e','s','q','l' } /* * A client can also start by sending a SSL or GSSAPI negotiation request to |
