mirror of
https://github.com/syncthing/syncthing.git
synced 2026-10-20 10:14:25 -04:00
cmd/syncthing: Avoid Keepalive/GUI refresh race
This avoids unnecessary browser request failures and retries. Eg: - Browser reuses existing HTTP connection for GUI refresh request - Server closes connection with request in flight - Browser retries GET request. GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3854
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f