INNER CODE UNIT · C
res
pgbouncer/pgbouncer · src/client.c:209
res = pktbuf_send_immediate(buf, client->link);
pktbuf_free(buf);
/*
* Should do instead:
* res = pktbuf_send_queued(buf, client->link);
* but that needs better integration with SBuf.
*/
}
if (!res)
disconnect_server(client->link, false, "unable to send auth_query");
}
static bool login_via_cert(PgSocket *client, struct HBARule *rule)
{
struct tls *tls = client->sbuf.tls;
if (!tls) {
slog_error(client, "TLS connection required");