Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
Mirrored from https://github.com/Slazee/caddy.git
Synced Nov 11, 23:30 UTC
docs: fix some minor issues in the comments (#7101)
mountdisk committed
Jun 30, 2025 at 15:50 UTC
c712cfcd763d81e19916401aeb6b0d52ad169128
2 files changed
+2
-2
modules/caddyhttp/reverseproxy/streaming.go
+1
-1
@@ -146,7 +146,7 @@ func (h *Handler) handleUpgradeResponse(logger *zap.Logger, wg *sync.WaitGroup,
146
// adopted from https://github.com/golang/go/commit/8bcf2834afdf6a1f7937390903a41518715ef6f5
147
backConnCloseCh := make(chan struct{})
148
go func() {
149
- // Ensure that the cancelation of a request closes the backend.
149
+ // Ensure that the cancellation of a request closes the backend.
150
// See issue https://golang.org/issue/35559.
151
select {
152
case <-req.Context().Done():
modules/caddytls/connpolicy.go
+1
-1
@@ -457,7 +457,7 @@ func (p ConnectionPolicy) SettingsEmpty() bool {
457
p.InsecureSecretsLog == ""
458
}
459
460
-// SettingsEmpty returns true if p's settings (fields
460
+// SettingsEqual returns true if p's settings (fields
461
// except the matchers) are the same as q.
462
func (p ConnectionPolicy) SettingsEqual(q ConnectionPolicy) bool {
463
p.MatchersRaw = nil