mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-24 06:37:43 +00:00
res/job.py sign_files exited 0 when a file was left unsigned: a sign task that never reached "done" only broke out of the current directory, and a failed download of the signed file was ignored, keeping the unsigned original in place. Both now exit non-zero, so the Windows signing steps fail the job. Retry requests.get/post on connection-level errors with the same wrapper the signing service's client uses, rewinding upload streams before each retry. Tunable via HTTP_RETRY_MAX_TRIES and HTTP_RETRY_SLEEP_SECS. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>