Commit Graph

251 Commits

Author SHA1 Message Date
Cadey Ratio b4e80a6d9c
tun2: expvar counters for each backend 2017-10-07 09:41:48 -07:00
Cadey Ratio 0ffaa5110a
internal/server: remove the spans added in common.go 2017-10-07 09:18:38 -07:00
Cadey Ratio d257215ff4
Revert "tun2: put content length in response"
This reverts commit c3b786b992.
2017-10-07 08:46:32 -07:00
Cadey Ratio 8e94968e17
Revert "tun2: close http streams after 30 minutes"
This reverts commit 30f7f4636e.
2017-10-07 08:42:13 -07:00
Cadey Ratio 302479389f
server: remove buffer pool 2017-10-07 08:38:59 -07:00
Cadey Ratio 1d61efc170
vendor: add bpool 2017-10-06 20:25:44 -07:00
Cadey Ratio 278af58424 Merge branch 'Xe/feat/unit-and-functional-testing'
Adds unit and functional testing to routed.
2017-10-06 16:27:03 -07:00
Cadey Ratio 0a5ff8dfaf internal/server: clean up NewServer 2017-10-06 16:26:19 -07:00
Cadey Ratio e1e255b138 plugins/autohttpagent: retry everything 2017-10-06 16:26:19 -07:00
Cadey Ratio 50c1deaa7d
change from vendor to dep 2017-10-06 08:29:20 -07:00
Cadey Ratio 47ba6d6abe
tun2: remove more debugging logging code 2017-10-04 15:49:37 -07:00
Cadey Ratio 30f7f4636e tun2: close http streams after 30 minutes 2017-10-04 15:46:17 -07:00
Cadey Ratio c3b786b992 tun2: put content length in response 2017-10-04 13:52:46 -07:00
Cadey Ratio 73f278aed2 tun2: make Server benchmarks, disabled for now 2017-10-04 10:17:07 -07:00
Cadey Ratio 0b46f035c6
tun2: cleanup server when done with it 2017-10-04 01:00:42 -07:00
Cadey Ratio 2a06070bec
tun2: fix TestBackendRouting 2017-10-04 00:26:43 -07:00
Cadey Ratio adf2121326
internal/server: fixup logging of tcp/kcp servers listening 2017-10-04 00:19:56 -07:00
Cadey Ratio 443d8ebb2c
remove this debugging dep 2017-10-04 00:06:17 -07:00
Cadey Ratio b0828f4458
tun2: go these 2017-10-04 00:03:27 -07:00
Cadey Ratio c95a8c5434
adjust for tun2 api changes 2017-10-04 00:00:16 -07:00
Cadey Ratio 59a3f45150
tun2: some experimenting on the core 2017-10-03 23:43:31 -07:00
Cadey Ratio a47fd75c5f Revert "plugins/autohttpagent: that was a bad idea"
removing this was a worse idea

This reverts commit 28859427b6.
2017-10-03 15:22:55 -07:00
Cadey Ratio df641cf1c5 update gitignores 2017-10-03 15:22:21 -07:00
Cadey Ratio 28859427b6 plugins/autohttpagent: that was a bad idea 2017-10-03 15:20:38 -07:00
Cadey Ratio 5afb3715cc tun2: documentation and unit tests 2017-10-03 13:20:23 -07:00
Cadey Ratio 0a7f7a4652 plugins/autohttpagent: stub out tests 2017-10-03 07:34:57 -07:00
Cadey Ratio 88d0a0a619
Revert "internal/tun2: forward stream buffered reader and closer to response bodies"
This reverts commit 223b816f88.
2017-10-03 06:34:21 -07:00
Cadey Ratio 99d5acb880
Revert "tun2: connection: do things better"
This reverts commit 64524eefc1. re
2017-10-03 06:34:09 -07:00
Cadey Ratio 64524eefc1
tun2: connection: do things better 2017-10-03 06:31:05 -07:00
Cadey Ratio 223b816f88
internal/tun2: forward stream buffered reader and closer to response bodies 2017-10-01 22:52:22 -07:00
Cadey Ratio 6038f2f151
mage: test to run tests 2017-10-01 22:31:04 -07:00
Cadey Ratio cf94f0a59f
internal: add testing for a few libraries 2017-10-01 22:31:01 -07:00
Cadey Ratio 5b4885cf6c
proto/client: change package name to routeclient 2017-10-01 22:25:26 -07:00
Cadey Ratio 4f4f0d2214
cmd/route-cli: add 'token rm' command 2017-10-01 22:25:04 -07:00
Cadey Ratio 3ee292925d
cmd/route-httpagent: attempt to be a bit more durable 2017-10-01 13:42:33 -07:00
Cadey Ratio eacd9781f7
cmd/routed: configure the http listener to redirect if the method allows redirecting 2017-10-01 11:29:31 -07:00
Cadey Ratio 0319e6dd9f
middleware: trace: report as https 2017-10-01 11:24:18 -07:00
Cadey Ratio 5991cb7e69
middleware: add url scheme to traces 2017-10-01 11:08:33 -07:00
Cadey Ratio 26a32350c9
cmd/routed: log http redirects 2017-10-01 11:04:19 -07:00
Cadey Ratio 4396e6822e
cmd/routed: redirect better 2017-10-01 11:01:18 -07:00
Cadey Ratio 61611ba7f0
cmd/routed: only serve sites over https 2017-10-01 10:57:52 -07:00
Cadey Ratio 9b0c00cefd
mage: add version rule 2017-10-01 10:13:25 -07:00
Cadey Ratio 121f7fa52c
internal/database: log state changes better 2017-10-01 09:54:54 -07:00
Cadey Ratio ffcdc8b9ba
route-cli: update list of possible scopes 2017-10-01 09:11:25 -07:00
Cadey Ratio 2f91ff1f5f
internal/server: log user information at the beginning of each grpc call 2017-10-01 09:10:24 -07:00
Cadey Ratio c2ac2e3055
tun2: read entire response body 2017-10-01 08:59:49 -07:00
Cadey Ratio 3fefd31625
tun2: lol nope 2017-10-01 08:55:46 -07:00
Cadey Ratio 63e342bba1
tun2: log more info per request 2017-10-01 08:49:59 -07:00
Cadey Ratio 026f061b0a
cmd/route-cli: implement 'route token inspect' 2017-10-01 08:43:45 -07:00
Cadey Ratio 7927c4d4f3
middleware: add '-http' suffix to http trace family 2017-10-01 08:43:24 -07:00