From f9d4a761796729b348df03ff595c15272faca743 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 15 Mar 2023 17:37:32 +0000 Subject: [PATCH] Log synchronization requests --- daemon.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/daemon.py b/daemon.py index 4f9b43ca8..a19a41580 100644 --- a/daemon.py +++ b/daemon.py @@ -2164,6 +2164,11 @@ class PubServer(BaseHTTPRequestHandler): self.server.postreq_busy = False return 2 + # follower synchronization requests + if self.headers.get('Collection-Synchronization'): + print('Collection-Synchronization: ' + + str(self.headers['Collection-Synchronization'])) + # Convert the headers needed for signature verification to dict headers_dict = {} headers_dict['host'] = self.headers['host']