summaryrefslogtreecommitdiff
path: root/listeners.go
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2019-09-02 22:01:02 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2019-09-02 22:01:02 -0600
commit026df7c5cb33331d223afc6a9599274e8c89dfd9 (patch)
treee7101ef1197b26b02472a567998fb83b57a45f08 /listeners.go
parent2dc4fcc62bfab639b60758f26659c03e58af9960 (diff)
reverse_proxy: WIP refactor and support for FastCGI
Diffstat (limited to 'listeners.go')
-rw-r--r--listeners.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/listeners.go b/listeners.go
index d97674d..3c3a704 100644
--- a/listeners.go
+++ b/listeners.go
@@ -24,6 +24,8 @@ import (
"time"
)
+// TODO: Can we use the new UsagePool type?
+
// Listen returns a listener suitable for use in a Caddy module.
// Always be sure to close listeners when you are done with them.
func Listen(network, addr string) (net.Listener, error) {