Commit Graph

27 Commits

Author SHA1 Message Date
Cadey Ratio ee6525661b internal/tun2: qualify key names in request/response proxying 2018-01-16 21:50:47 -08:00
Cadey Ratio 8c04a9ac96 internal/tun2: DRY tun2.Server.RoundTrip
Closes #4
2017-12-15 11:15:09 -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 b4e80a6d9c
tun2: expvar counters for each backend 2017-10-07 09:41:48 -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 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 443d8ebb2c
remove this debugging dep 2017-10-04 00:06:17 -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 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 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