syncthing/cmd/syncthing
Mark Pulford 69ae4aa024 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
2017-01-01 12:38:31 +00:00
..
testdata Fix STGUIASSETS search paths & order (fixes #2827) 2016-03-12 12:17:25 +00:00
.gitignore Repair model tests 2014-03-30 21:59:40 +02:00
.stfolder Merge remote-tracking branch 'syncthing/pr/1577' 2015-04-06 20:53:32 +02:00
auditservice.go Svc -> Service 2015-12-23 15:31:12 +00:00
auditservice_test.go Svc -> Service 2015-12-23 15:31:12 +00:00
blockprof.go MPLv2 2015-03-17 16:02:27 +01:00
debug.go HTTP debug middleware should be behind ShouldDebug() 2015-11-21 09:39:40 +01:00
gui.go cmd/syncthing: Avoid Keepalive/GUI refresh race 2017-01-01 12:38:31 +00:00
gui_auth.go lib/rand: Break out random functions into separate package 2016-05-26 07:02:56 +00:00
gui_csrf.go lib/osutil: Don't chmod in atomic file creation (fixes #2472) 2016-11-23 14:06:08 +00:00
gui_solaris.go build, cmd, lib: Minimum supported compiler version is Go 1.5 2016-08-15 08:37:32 +02:00
gui_statics.go cmd/syncthing: Refactor out staticsServer (prev. embeddedStatic) a bit 2016-06-07 07:46:45 +00:00
gui_test.go lib/db: Fix ineffassign lint issue 2016-11-24 12:08:44 +01:00
gui_unix.go build, cmd, lib: Minimum supported compiler version is Go 1.5 2016-08-15 08:37:32 +02:00
gui_windows.go build, cmd, lib: Minimum supported compiler version is Go 1.5 2016-08-15 08:37:32 +02:00
heapprof.go MPLv2 2015-03-17 16:02:27 +01:00
locations.go lib/protocol, lib/discover, lib/db: Use protocol buffer serialization (fixes #3080) 2016-07-04 10:40:29 +00:00
main.go cmd/syncthing: Add -reset-deltas option to reset delta index IDs 2016-12-26 13:49:51 +01:00
main_test.go lib/model: Refactor CheckFolderHealth into separate methods 2016-06-26 10:07:27 +00:00
memsize_darwin.go MPLv2 2015-03-17 16:02:27 +01:00
memsize_linux.go MPLv2 2015-03-17 16:02:27 +01:00
memsize_netbsd.go MPLv2 2015-03-17 16:02:27 +01:00
memsize_solaris.go MPLv2 2015-03-17 16:02:27 +01:00
memsize_unimpl.go MPLv2 2015-03-17 16:02:27 +01:00
memsize_windows.go cmd/syncthing: uintptr may not be stored in a variable 2016-08-22 18:24:26 +02:00
mocked_config_test.go all: Add folder pause, make pauses permanent (fixes #3407, fixes #215, fixes #3001) 2016-12-21 18:41:25 +00:00
mocked_connections_test.go lib/connections: Refactor 2016-05-04 19:38:12 +00:00
mocked_discovery_test.go lib/connections: Refactor 2016-05-04 19:38:12 +00:00
mocked_events_test.go cmd/syncthing: Add mock types for API service testing 2016-03-24 08:09:13 +00:00
mocked_logger_test.go cmd/syncthing: Add test for starting API service and requesting some URLs 2016-03-24 08:55:33 +00:00
mocked_model_test.go cmd/syncthing, lib/db, lib/model: Track more detailed file/dirs/links/deleted counts 2016-10-17 23:57:43 +02:00
monitor.go cmd/syncthing: Explain corruption panics (fixes #3689) 2016-12-21 11:01:15 +01:00
openurl_unix.go MPLv2 2015-03-17 16:02:27 +01:00
openurl_windows.go MPLv2 2015-03-17 16:02:27 +01:00
perfstats_unix.go Fix import paths 2015-09-22 19:38:46 +02:00
summaryservice.go cmd/syncthing, gui: Improve completion calculation (fixes #3492) 2016-08-12 06:41:43 +00:00
traceback.go cmd/syncthing: go fmt traceback.go 2016-10-12 20:37:26 +02:00
usage.go MPLv2 2015-03-17 16:02:27 +01:00
usage_report.go lib/model: Clarify master terminology (fixes #2679) 2016-12-16 22:23:35 +00:00
verboseservice.go all: Add folder pause, make pauses permanent (fixes #3407, fixes #215, fixes #3001) 2016-12-21 18:41:25 +00:00