Commit Graph

69 Commits

Author SHA1 Message Date
Cadey Ratio cd17465155 add database migrations tool, start on postgres support 2018-01-21 12:46:03 -08:00
Cadey Ratio 220b2a8994 internal/database: write the rest of the tests 2018-01-21 12:19:54 -08:00
Cadey Ratio 0088a7dc09 internal/database: add cert tests 2018-01-21 11:53:05 -08:00
Cadey Ratio 2d2f894517 cmd/routed: use split database handlers 2018-01-21 11:53:05 -08:00
Cadey Ratio 6b12210014 internal/database: bake postgres actions into the binary with go-bindata 2018-01-21 11:53:05 -08:00
Cadey Ratio 0c5cc8f2d9 internal/database: add postgres database querying fragments 2018-01-21 11:53:05 -08:00
Cadey Ratio fcbaeffffb internal/database: add postgres migrations 2018-01-21 11:53:05 -08:00
Cadey Ratio 53522e3f51 spam the console less 2018-01-21 09:35:48 -08:00
Cadey Ratio b9a78fa3bf cmd/routed: fix header getting 2018-01-21 09:07:21 -08:00
Cadey Ratio e7d494513d internal/middleware: fix again 2018-01-21 09:01:22 -08:00
Cadey Ratio 143a2f8e3f internal/middleware: fix twirp 2018-01-21 08:57:35 -08:00
Cadey Ratio 2f92dfbe46 cmd/routed: add twirp middleware 2018-01-21 08:53:43 -08:00
Cadey Ratio 0566205ec2 cmd/routed: fix build 2018-01-21 08:22:10 -08:00
Cadey Ratio ee6525661b internal/tun2: qualify key names in request/response proxying 2018-01-16 21:50:47 -08:00
Cadey Ratio e6084cd874 internal/database: start refactoring Storage into smaller interfaces 2017-12-15 12:56:20 -08:00
Cadey Ratio 8c04a9ac96 internal/tun2: DRY tun2.Server.RoundTrip
Closes #4
2017-12-15 11:15:09 -08:00
Cadey Ratio 09cb598df9 cmd/routed: move internal/server here 2017-12-15 10:18:13 -08:00
Cadey Ratio 509c38b133 internal/tun2: speed up tests a little 2017-12-13 17:10:20 -08:00
Cadey Ratio 7106209616 internal/tun2: wait, go has contexts 2017-12-12 10:21:38 -08:00
Cadey Ratio ae2f5ca097 internal/tun2: think smarter not harder 2017-12-12 10:18:26 -08:00
Cadey Ratio 9bb2d4f436 internal/tun2: relay stream body with closer 2017-12-12 10:00:04 -08:00
Cadey Ratio c2fbaa9da9 internal/server: move quic to response headers 2017-12-11 19:04:46 -08:00
Cadey Ratio d16b00a1a4 internal/server: set quic to protocol version 39 2017-12-11 18:57:09 -08:00
Cadey Ratio 90536c6ec0 cmd/routed: add quic support 2017-12-11 18:51:45 -08:00
Cadey Ratio f12c2f944a internal/database: fix 2017-12-02 18:18:02 -08:00
Cadey Ratio 45a0d08b27 internal: implement GetRouteHost 2017-12-02 18:16:37 -08:00
Cadey Ratio bbfefefe3c internal/{database,server}: use ID instead of host 2017-12-02 18:00:13 -08:00
Cadey Ratio 811795d174
proto: have route put return route object 2017-10-07 20:53:54 -07:00
Cadey Ratio ce15a735ed
manhole: add expvar 2017-10-07 09:50:20 -07:00
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 0a5ff8dfaf internal/server: clean up NewServer 2017-10-06 16:26:19 -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 5afb3715cc tun2: documentation and unit tests 2017-10-03 13:20:23 -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