summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/reverseproxy
diff options
context:
space:
mode:
authorMohammed Al Sahaf <msaa1990@gmail.com>2020-01-03 21:33:22 +0300
committerMatt Holt <mholt@users.noreply.github.com>2020-01-03 11:33:22 -0700
commitdff78d82ce21d97cad53171b72b88550e02c2c7f (patch)
treec40db6f01dbeee0b23db1a67cd4d0e431a639071 /modules/caddyhttp/reverseproxy
parent8c7c2e4af2e4e7ad842b959e2100855f6edadd68 (diff)
v2: housekeeping: address minor lint complaints (#2957)
* v2: housekeeping: update tools * v2: housekeeping: adhere to US locale in spelling * v2: housekeeping: simplify code
Diffstat (limited to 'modules/caddyhttp/reverseproxy')
-rw-r--r--modules/caddyhttp/reverseproxy/streaming.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/caddyhttp/reverseproxy/streaming.go b/modules/caddyhttp/reverseproxy/streaming.go
index 3ab122c..0c8e338 100644
--- a/modules/caddyhttp/reverseproxy/streaming.go
+++ b/modules/caddyhttp/reverseproxy/streaming.go
@@ -68,7 +68,6 @@ func (h Handler) handleUpgradeResponse(rw http.ResponseWriter, req *http.Request
go spc.copyToBackend(errc)
go spc.copyFromBackend(errc)
<-errc
- return
}
// flushInterval returns the p.FlushInterval value, conditionally