didericis-claude
845bfe87a1
fix: add explicit timeouts to subprocess and HTTP calls in git-gate paths
...
Closes #255 . Without timeouts, a hung upstream during the access-hook
or git http-backend CGI call (git_http_backend.py) and a stalled Gitea
API during deploy-key provisioning (contrib/gitea/deploy_key_provisioner.py)
could wedge a sidecar indefinitely. Adds GIT_HTTP_BACKEND_TIMEOUT_SECS
(30s) to both subprocess.run calls in the HTTP backend, mirroring the
existing GIT_GATE_DAEMON_TIMEOUT_SECS on the daemon path. Adds
_API_TIMEOUT_SECS (30s) and _KEYGEN_TIMEOUT_SECS (10s) to the Gitea
provisioner's urlopen and ssh-keygen calls. Tests verify the timeout
values are forwarded in all four call sites.
2026-06-25 03:28:45 -04:00
..
2026-06-24 22:51:27 -04:00
2026-06-23 16:53:41 -04:00
2026-06-04 11:30:51 -04:00
2026-06-22 23:54:02 -04:00
2026-06-10 22:25:00 -04:00
2026-06-22 19:09:22 +00:00
2026-06-22 23:54:02 -04:00
2026-06-23 16:53:41 -04:00
2026-06-04 11:27:23 -04:00
2026-06-23 16:53:41 -04:00
2026-06-09 03:27:31 +00:00
2026-06-22 23:54:02 -04:00
2026-06-25 03:08:47 -04:00
2026-06-04 01:54:53 +00:00
2026-06-07 11:35:35 -04:00
2026-06-25 03:25:37 +00:00
2026-06-22 23:54:02 -04:00
2026-06-25 03:08:47 -04:00
2026-06-25 03:28:45 -04:00
2026-06-22 23:54:02 -04:00
2026-06-03 23:04:17 -04:00
2026-06-25 03:57:41 +00:00
2026-06-25 03:08:47 -04:00
2026-06-08 23:05:14 -04:00
2026-06-08 23:05:14 -04:00
2026-06-23 16:53:41 -04:00
2026-06-22 23:54:02 -04:00
2026-06-25 03:08:47 -04:00
2026-06-23 16:53:41 -04:00
2026-06-25 06:07:47 +00:00
2026-06-25 00:32:42 -04:00
2026-06-25 05:25:42 +00:00
2026-06-25 06:07:47 +00:00
2026-06-23 17:36:08 -04:00
2026-06-25 03:28:45 -04:00
2026-06-24 15:37:57 -04:00
2026-06-22 22:57:16 -04:00
2026-06-10 22:25:00 -04:00
2026-06-25 03:25:37 +00:00
2026-06-23 03:02:03 +00:00
2026-06-23 16:53:41 -04:00
2026-06-22 23:54:02 -04:00
2026-06-24 22:51:27 -04:00
2026-06-22 23:54:02 -04:00
2026-06-22 23:54:02 -04:00
2026-06-22 23:54:02 -04:00
2026-06-22 23:54:02 -04:00
2026-06-22 23:54:02 -04:00
2026-06-25 03:08:47 -04:00
2026-06-01 22:24:17 -04:00
2026-06-22 23:54:02 -04:00
2026-06-10 22:25:00 -04:00
2026-06-10 00:02:28 -04:00
2026-06-04 11:30:51 -04:00
2026-06-23 16:53:41 -04:00
2026-06-04 11:30:51 -04:00
2026-06-04 11:30:51 -04:00
2026-06-25 03:08:47 -04:00
2026-06-04 11:30:51 -04:00
2026-06-04 21:54:06 +00:00
2026-06-23 16:53:41 -04:00
2026-06-09 03:27:31 +00:00
2026-06-03 17:26:15 +00:00
2026-06-25 01:23:10 +00:00
2026-06-25 05:25:42 +00:00
2026-06-25 01:23:10 +00:00
2026-06-05 19:53:23 +00:00