1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-07-05 00:28:52 +02:00

Implement IoClient/IoSession interfaces for SocketClient/SocketSession.

Following up on 111d33c, implement the new interfaces for socket client/session. Now HTTP objects can be used over TLS or plain sockets.

This required adding ioSessionFd() and ioSessionRole() to provide the functionality of sckSessionFd() and sckSessionType(). sckClientHost() and sckClientPort don't make sense in a generic interface so they were replaced with ioSessionName().
This commit is contained in:
David Steele
2020-08-10 16:03:38 -04:00
committed by GitHub
parent 54c3c39645
commit 7fdbd94e39
23 changed files with 443 additions and 259 deletions

View File

@ -8,6 +8,7 @@ Common Command Routines
#include "common/debug.h"
#include "common/io/http/client.h"
#include "common/io/socket/client.h"
#include "common/io/tls/client.h"
#include "common/log.h"
#include "common/memContext.h"