caddy/caddyhttp/httpserver
Tw beae16f07c Proxy performance (#946)
* proxy: add benchmark

Signed-off-by: Tw <tw19881113@gmail.com>

* replacer: prepare lazily

update issue#939

benchmark            old ns/op     new ns/op     delta
BenchmarkProxy-4     83865         72544         -13.50%

Signed-off-by: Tw <tw19881113@gmail.com>

* proxy: use buffer pool to avoid temporary allocation

Signed-off-by: Tw <tw19881113@gmail.com>
2016-07-20 19:06:14 -06:00
..
condition_test.go Fix missed if_op refactor. Ensure with tests. 2016-06-21 20:41:09 +01:00
condition.go Fix missed if_op refactor. Ensure with tests. 2016-06-21 20:41:09 +01:00
context_test.go Migrate remaining middleware packages 2016-06-05 22:39:23 -06:00
context.go Add Ext action to template context (closes #844) 2016-07-11 08:37:19 -06:00
graceful.go Rewrote Caddy from the ground up; initial commit of 0.9 branch 2016-06-04 17:00:29 -06:00
https_test.go Rewrote Caddy from the ground up; initial commit of 0.9 branch 2016-06-04 17:00:29 -06:00
https.go Replace auto-HTTPS info message and move a method to proper file 2016-06-28 23:01:06 -06:00
middleware_test.go Rewrote Caddy from the ground up; initial commit of 0.9 branch 2016-06-04 17:00:29 -06:00
middleware.go Proposal: Middleware Config (#908) 2016-07-08 18:12:52 -06:00
path.go Proposal: Middleware Config (#908) 2016-07-08 18:12:52 -06:00
plugin_test.go Properly handle path-only addresses (also fix godoc typos) 2016-07-18 18:45:20 -06:00
plugin.go Properly handle path-only addresses (also fix godoc typos) 2016-07-18 18:45:20 -06:00
recorder_test.go Rewrote Caddy from the ground up; initial commit of 0.9 branch 2016-06-04 17:00:29 -06:00
recorder.go Rewrote Caddy from the ground up; initial commit of 0.9 branch 2016-06-04 17:00:29 -06:00
replacer_test.go Proxy performance (#946) 2016-07-20 19:06:14 -06:00
replacer.go Proxy performance (#946) 2016-07-20 19:06:14 -06:00
roller.go Rewrote Caddy from the ground up; initial commit of 0.9 branch 2016-06-04 17:00:29 -06:00
server_test.go Rewrote Caddy from the ground up; initial commit of 0.9 branch 2016-06-04 17:00:29 -06:00
server.go Allow for UDP servers (#935) 2016-07-18 14:24:09 -06:00
siteconfig.go Replace auto-HTTPS info message and move a method to proper file 2016-06-28 23:01:06 -06:00
vhosttrie_test.go Rewrote Caddy from the ground up; initial commit of 0.9 branch 2016-06-04 17:00:29 -06:00
vhosttrie.go Don't treat localhost specially when assigning bind address 2016-06-27 13:14:28 -06:00