bareos: dev d7acc84f

Author Committer Branch Timestamp Parent
franku franku dev 2018-09-18 21:05 dev 988bcfad Pending
Changeset bsock: added an extra unique pointer for tls initialization

- added unique_ptr tls_conn_init that is used during tls initialization and handshake
  to hold the pointer to the Tls implementation
- upen successful initialization this pointer will be moved to the shared_ptr tls_conn
- tls_conn is used from the send and receive routines
- BareosSocket::mutex_ is used for thread safeness
mod - core/src/lib/bnet.cc Diff File
mod - core/src/lib/bsock.cc Diff File
mod - core/src/lib/bsock.h Diff File
mod - core/src/lib/bsock_tcp.cc Diff File