mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +03:00
libpq: Trace responses to SSLRequest and GSSENCRequest
Since these are single bytes instead of v2 or v3 messages they need custom tracing logic. These "messages" don't even have official names in the protocol specification, so I (Jelte) called them SSLResponse and GSSENCResponse here. Author: Jelte Fennema-Nio <postgres@jeltef.nl> Discussion: https://postgr.es/m/CAGECzQSoPHtZ4xe0raJ6FYSEiPPS+YWXBhOGo+Y1YecLgknF3g@mail.gmail.com
This commit is contained in:
@@ -889,6 +889,8 @@ extern ssize_t pg_GSS_read(PGconn *conn, void *ptr, size_t len);
|
||||
extern void pqTraceOutputMessage(PGconn *conn, const char *message,
|
||||
bool toServer);
|
||||
extern void pqTraceOutputNoTypeByteMessage(PGconn *conn, const char *message);
|
||||
extern void pqTraceOutputCharResponse(PGconn *conn, const char *responseType,
|
||||
char response);
|
||||
|
||||
/* === miscellaneous macros === */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user