Commit Graph

51 Commits

Author SHA1 Message Date
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
Cadey Ratio 223b816f88
internal/tun2: forward stream buffered reader and closer to response bodies 2017-10-01 22:52:22 -07:00
Cadey Ratio cf94f0a59f
internal: add testing for a few libraries 2017-10-01 22:31:01 -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 121f7fa52c
internal/database: log state changes better 2017-10-01 09:54:54 -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 7927c4d4f3
middleware: add '-http' suffix to http trace family 2017-10-01 08:43:24 -07:00
Cadey Ratio c1f8899806
tun2: close streams less aggressively 2017-10-01 08:42:44 -07:00
Cadey Ratio babbdca699
move everything in lib/ to internal/ 2017-10-01 08:23:08 -07:00
Cadey Ratio dc40bfa5ba
internal/server: add grpc tracing 2017-10-01 08:11:07 -07:00
Cadey Ratio 14fb7f723d
start adding go stdlib tracing 2017-10-01 06:54:56 -07:00
Cadey Ratio f69257f5f8
all: update use of ln 2017-10-01 06:28:13 -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 40c879d9f8
move routecrypto and server into internal 2017-09-30 06:56:56 -07:00