bareos: master d958939e

Author Committer Branch Timestamp Parent
franku franku master 2020-07-22 14:54 master c59228e7 Pending
Changeset dird: close connection pool sockets properly

- added CustomCallback to the bnet server that runs once a second
- the CustomCallback runs connection_pool->cleanup()
- cleanup() closes a socket as soon as it is not used anymore
mod - core/src/dird/socket_server.cc Diff File
mod - core/src/lib/bnet_server_tcp.cc Diff File
mod - core/src/lib/bnet_server_tcp.h Diff File
mod - core/src/lib/connection_pool.cc Diff File
mod - core/src/lib/connection_pool.h Diff File