public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH backup 0/7] hot-reload proxy certificates
@ 2021-05-11 13:53 Wolfgang Bumiller
  2021-05-11 13:53 ` [pbs-devel] [PATCH backup 1/7] proxy: factor out accept_connection Wolfgang Bumiller
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Wolfgang Bumiller @ 2021-05-11 13:53 UTC (permalink / raw)
  To: pbs-devel

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





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-05-11 16:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-11 13:53 [pbs-devel] [PATCH backup 0/7] hot-reload proxy certificates Wolfgang Bumiller
2021-05-11 13:53 ` [pbs-devel] [PATCH backup 1/7] proxy: factor out accept_connection Wolfgang Bumiller
2021-05-11 13:53 ` [pbs-devel] [PATCH backup 2/7] proxy: "continue on error" for the accept call, too Wolfgang Bumiller
2021-05-11 13:53 ` [pbs-devel] [PATCH backup 3/7] proxy: Arc usage cleanup Wolfgang Bumiller
2021-05-11 13:53 ` [pbs-devel] [PATCH backup 4/7] proxy: factor out tls acceptor creation Wolfgang Bumiller
2021-05-11 13:53 ` [pbs-devel] [PATCH backup 5/7] proxy: implement 'reload-certificate' command Wolfgang Bumiller
2021-05-11 13:53 ` [pbs-devel] [PATCH backup 6/7] refactor send_command Wolfgang Bumiller
2021-05-11 13:54 ` [pbs-devel] [PATCH backup 7/7] hot-reload proxy certificate when updating via the API Wolfgang Bumiller
2021-05-11 16:11 ` [pbs-devel] applied-series: [PATCH backup 0/7] hot-reload proxy certificates Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal