Commit Graph

52 Commits

Author SHA1 Message Date
Cadey Ratio 141fbfed76
tun2: generalize the 502 page generation 2017-09-30 11:08:41 -07:00
Cadey Ratio e8cf973208
tun2: fixup 2017-09-30 11:05:31 -07:00
Cadey Ratio 930d16a1a2
tun2: return a snazzy html page when no backend is connected 2017-09-30 11:04:33 -07:00
Cadey Ratio 235eed3d84
tun2: catch panics 2017-09-30 10:42:09 -07:00
Cadey Ratio d2c0a530ab
don't panic on a backend disconnect 2017-09-30 10:33:19 -07:00
Cadey Ratio db341f4c0d
vendor: update grpc 2017-09-30 09:47:47 -07:00
Cadey Ratio d0d159f521
tun2: only report phi failure detection if it's above 0.8 2017-09-30 08:39:30 -07:00
Cadey Ratio e8acea0351 tun2: make Server better 2017-04-28 15:23:26 -07:00
Cadey Ratio 9605eb88bd tun2: make Connection into its own file 2017-04-05 21:44:12 -07:00
Cadey Ratio 2bda4a8ef8 tun2: be more aggressive about ping timeouts in smux 2017-04-05 15:54:58 -07:00
Cadey Ratio ee51b41f3a tun2: check phi failures a lot more often 2017-04-05 15:26:44 -07:00
Cadey Ratio bb255b81f1 tun2: remove debugging log lines 2017-04-05 15:24:25 -07:00
Cadey Ratio 581420b768 tun2: only log failure chance if it's nonzero 2017-04-05 15:23:13 -07:00
Cadey Ratio b1161e35f4 tun2: cleanup 2017-04-05 15:04:02 -07:00
Cadey Ratio 56fc4f89ba tun2: loop forever at the foot of HandleConn 2017-04-05 14:48:08 -07:00
Cadey Ratio 1827d19e84 tun2: more verbosely log pinging 2017-04-05 14:46:35 -07:00
Cadey Ratio 0ac8f2adbf tun2: log when pings work 2017-04-05 14:42:57 -07:00
Cadey Ratio 35d2d72e7f tun2: be less greedy about failure checking 2017-04-05 14:40:37 -07:00
Cadey Ratio 116c3e6516 tun2: lock 2017-04-05 14:33:54 -07:00
Cadey Ratio 4d30a5cfb3 tun2: add phi failure detection, move pingloop to be per-connection 2017-04-05 14:31:15 -07:00
Cadey Ratio a009a9fd0f tun2: bail and fail hard if the connection is dead 2017-03-27 21:29:08 -07:00
Cadey Ratio d52776a7fc tun2: log on no backends 2017-03-26 22:50:45 -07:00
Cadey Ratio 03f9570151 tun2: move pingloop into a function 2017-03-26 22:19:43 -07:00
Cadey Ratio 1c221cdf6d tun2: avoid intN panic 2017-03-26 22:03:06 -07:00
Cadey Ratio aa16ea5e26 tun2: no connections means no connections 2017-03-26 22:01:15 -07:00
Cadey Ratio a02553e0ef tun2: use a better hashmap 2017-03-26 21:56:54 -07:00
Cadey Ratio 9758adc118 tun2: set deadline before creating stream 2017-03-26 16:25:12 -07:00
Cadey Ratio bbf0dc14ba tun2: log better on disconnect 2017-03-26 16:21:02 -07:00
Cadey Ratio ed00bc4232 tun2: continue sooner in pingloop 2017-03-26 16:19:00 -07:00
Cadey Ratio 10f51ef10a tun2: don't goroutine it up, not fam 2017-03-26 16:16:39 -07:00
Cadey Ratio 46b29ea22d wait even less 2017-03-26 16:14:24 -07:00
Cadey Ratio a1df9e32ec don't wait forever 2017-03-26 16:13:20 -07:00
Cadey Ratio d25fe6c7e7 tun2: goroutine it up fam 2017-03-26 16:11:59 -07:00
Cadey Ratio 7cf2a9a616 tun2: ln.F 2017-03-26 15:41:00 -07:00
Cadey Ratio 098a7e5858 tun2: log more successes 2017-03-26 15:36:58 -07:00
Cadey Ratio bd07937466 tun2: call F() 2017-03-26 15:30:19 -07:00
Cadey Ratio c3e3f595df tun2: F 2017-03-26 15:28:29 -07:00
Cadey Ratio 3d516cdf4e tun2: Connection is an Fer now 2017-03-26 15:26:59 -07:00
Cadey Ratio 919e160273 _ 2017-03-26 15:21:02 -07:00
Cadey Ratio 0a01896364 tun2: don't break pipes 2017-03-26 15:20:35 -07:00
Cadey Ratio 9e0a91a438 tun2: do pingloop more manually 2017-03-26 15:19:33 -07:00
Cadey Ratio d7e1510121 tun2: do pingloop more manually 2017-03-26 15:19:10 -07:00
Cadey Ratio 1d5c58e22d tun2: pingloop 2017-03-26 15:14:13 -07:00
Cadey Ratio f09a33e0df tun2: retry if possible 2017-03-26 13:52:53 -07:00
Cadey Ratio 4021b4f3aa fix everything forever 2017-03-26 13:47:42 -07:00
Cadey Ratio 70191a0b88 tun2: on disconnection, explode gently 2017-03-26 13:38:05 -07:00
Cadey Ratio 89943398fc tun2: log more information after a connection is established 2017-03-26 13:29:01 -07:00
Cadey Ratio 6c162f4ebc tun2: log better 2017-03-26 13:23:52 -07:00
Cadey Ratio db3f0af99a tun2: log on backend connect 2017-03-26 13:18:58 -07:00
Cadey Ratio 3faeae8187 tun2: log when listenandserve is called 2017-03-26 13:15:42 -07:00