You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-05 00:28:52 +02:00
Add SocketClient object.
This functionality was embedded into TlsClient but that was starting to get unwieldy. Add SocketClient to contain all socket-related client functionality.
This commit is contained in:
@ -186,6 +186,12 @@ cmdEnd(int code, const String *errorMessage)
|
||||
{
|
||||
MEM_CONTEXT_TEMP_BEGIN()
|
||||
{
|
||||
// Log socket statistics
|
||||
String *sckClientStat = sckClientStatStr();
|
||||
|
||||
if (sckClientStat != NULL)
|
||||
LOG_DETAIL(strPtr(sckClientStat));
|
||||
|
||||
// Log tls statistics
|
||||
String *tlsClientStat = tlsClientStatStr();
|
||||
|
||||
|
Reference in New Issue
Block a user