Commit Graph

355 Commits

Author SHA1 Message Date
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 9756860cf9 update ln 2017-04-05 15:03:41 -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 0ba19b0259 vendor gopreload 2017-03-27 21:30:31 -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 99bc2a10b0 main: replace manhole with gopreload 2017-03-27 10:26:34 -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 2f08c381e7 main: fix a colon 2017-03-26 21:58:18 -07:00
Cadey Ratio 7dcee8d259 update vendor 2017-03-26 21:57:04 -07:00
Cadey Ratio a02553e0ef tun2: use a better hashmap 2017-03-26 21:56:54 -07:00
Cadey Ratio ecc31b1eb7 server,main: simplify config code 2017-03-26 21:39:19 -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 65f99d052b tun2: add logging calls to client connections 2017-03-26 15:13:54 -07:00
Cadey Ratio 92d23eec09 make httpagent a plugin 2017-03-26 15:13:32 -07:00
Cadey Ratio cc890642b6 cmd/httpagent: toggle KCP/TCP 2017-03-26 13:57:09 -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 73c2e41af7 database: fix term count error better 2017-03-26 13:27:25 -07:00
Cadey Ratio 676c373356 database: fix term count error 2017-03-26 13:24:05 -07:00
Cadey Ratio 6c162f4ebc tun2: log better 2017-03-26 13:23:52 -07:00