mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2026-06-20 01:17:49 +02:00
Split session functionality of TlsClient out into TlsSession.
This abstraction allows the session code to be shared between the TLS client and (upcoming) server code. Session management is no longer implemented in TlsClient so the HttpClient was updated to free and create sessions as needed. No test changes were required for HttpClient so the functionality should be unchanged. Mechanical changes to the TLS tests were required to use TlsSession where appropriate rather than TlsClient. There should be no change in functionality other than how sessions are managed, i.e. using tlsClientOpen()/tlsSessionFree() rather than just tlsClientOpen().
This commit is contained in:
+2
-1
@@ -239,11 +239,12 @@ unit:
|
||||
|
||||
# ----------------------------------------------------------------------------------------------------------------------------
|
||||
- name: io-tls
|
||||
total: 5
|
||||
total: 4
|
||||
containerReq: true
|
||||
|
||||
coverage:
|
||||
common/io/tls/client: full
|
||||
common/io/tls/session: full
|
||||
common/io/socket/client: full
|
||||
common/io/socket/common: full
|
||||
common/io/socket/session: full
|
||||
|
||||
Reference in New Issue
Block a user