GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3017
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3007