[pbs-devel] [PATCH backup 0/7] hot-reload proxy certificates
Wolfgang Bumiller
w.bumiller at proxmox.com
Tue May 11 15:53:53 CEST 2021
This adds the ability to tell a running proxy to just reload the TLS
cert certificates via the command-socket.
Starts off with some cleanup/refactoring to get rid of all that heavy
indentation...
Wolfgang Bumiller (7):
proxy: factor out accept_connection
proxy: "continue on error" for the accept call, too
proxy: Arc usage cleanup
proxy: factor out tls acceptor creation
proxy: implement 'reload-certificate' command
refactor send_command
hot-reload proxy certificate when updating via the API
src/api2/node/certificates.rs | 26 ++--
src/bin/proxmox-backup-proxy.rs | 220 ++++++++++++++++++++------------
src/config.rs | 17 +--
src/server.rs | 9 ++
src/server/command_socket.rs | 71 ++++++-----
src/server/worker_task.rs | 4 +-
6 files changed, 204 insertions(+), 143 deletions(-)
--
2.20.1
More information about the pbs-devel
mailing list