]> _ Git - remote-logging.git/commit
server: Add retries with random backoff for file uploads
authormivirl <>
Sun, 3 Mar 2024 01:06:49 +0000 (19:06 -0600)
committermivirl <>
Sun, 3 Mar 2024 01:06:49 +0000 (19:06 -0600)
commitb51990fd4b2b0a0cb40b8efb5c72032957423383
tree2fa8185ad4c77028f13a91e918dd7eb1f9f80df8
parent90a92e90fb82e2bc54fbfbb79e3c2c020da8580d
server: Add retries with random backoff for file uploads

When binding a port on the server side, there's a chance that another
process has already bound the port. Retries a few times with a random
backoff to reduce the number of collisions

Future versions will reduce the number of ports used by the server,
and this change makes it possible with fewer issues.
src/client.pl
src/server.sh