aboutsummaryrefslogtreecommitdiffhomepage
path: root/modules/caddyhttp/caddyhttp.go
diff options
context:
space:
mode:
authordev <[email protected]>2019-04-03 11:47:27 -0400
committerdev <[email protected]>2019-04-08 09:58:11 -0400
commit27ecc7f384bbfc98b28dc73881968897fb8c9a8a (patch)
tree1c579149528c26884c04e0daba3c9f320271b7a7 /modules/caddyhttp/caddyhttp.go
parent402f423693d86d3e37daf64f369dbf54f69338b3 (diff)
downloadcaddy-27ecc7f384bbfc98b28dc73881968897fb8c9a8a.tar.gz
caddy-27ecc7f384bbfc98b28dc73881968897fb8c9a8a.zip
Protocol and Caddyscript matchers
* Added matcher to determine what protocol the request is being made by - grpc, tls, http * Added ability to run caddyscript in a matcher to evaluate the http request * Added TLS field to caddyscript request time * Added a library to manipulate and compare a new caddyscript time type * Library for regex in starlark
Diffstat (limited to 'modules/caddyhttp/caddyhttp.go')
-rw-r--r--modules/caddyhttp/caddyhttp.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/caddyhttp/caddyhttp.go b/modules/caddyhttp/caddyhttp.go
index 059af62fc..179ad50a6 100644
--- a/modules/caddyhttp/caddyhttp.go
+++ b/modules/caddyhttp/caddyhttp.go
@@ -32,9 +32,7 @@ type httpModuleConfig struct {
func (hc *httpModuleConfig) Run() error {
// TODO: Either prevent overlapping listeners on different servers, or combine them into one
-
// TODO: A way to loop requests back through, so have them start the matching over again, but keeping any mutations
-
for _, srv := range hc.Servers {
// set up the routes
for i, route := range srv.Routes {