caddy/caddyhttp/proxy
Matthew Holt a798e0c951 Refactor how caddy.Context is stored and used
- Server types no longer need to store their own contexts; they are
  stored on the caddy.Instance, which means each context will be
  properly GC'ed when the instance is stopped. Server types should use
  type assertions to convert from caddy.Context to their concrete
  context type when they need to use it.
- Pass the entire context into httpserver.GetConfig instead of only the
  Key field.
- caddy.NewTestController now requires a server type string so it can
  create a controller with the proper concrete context associated with
  that server type.

Tests still need more attention so that we can test the proper creation
of startup functions, etc.
2016-06-20 11:59:23 -06:00
..
policy_test.go Balance round robin evenly when some hosts are down (#880) 2016-06-14 15:43:06 -06:00
policy.go Refactor and clean up policy code 2016-06-18 15:41:18 -05:00
proxy_test.go Migrating more middleware packages 2016-06-05 21:51:56 -06:00
proxy.go Migrating more middleware packages 2016-06-05 21:51:56 -06:00
reverseproxy.go Migrating more middleware packages 2016-06-05 21:51:56 -06:00
setup_test.go Refactor how caddy.Context is stored and used 2016-06-20 11:59:23 -06:00
setup.go Refactor how caddy.Context is stored and used 2016-06-20 11:59:23 -06:00
upstream_test.go Add timeout to health_check (#887) 2016-06-20 09:49:21 -06:00
upstream.go Add timeout to health_check (#887) 2016-06-20 09:49:21 -06:00