summaryrefslogtreecommitdiff
path: root/plugins/http/plugin.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-03-16 16:48:45 +0300
committerValery Piashchynski <[email protected]>2021-03-16 16:48:45 +0300
commiteec190334e03012e9dfc3ba83c106d8b3974b238 (patch)
tree78e82e9b4e179960d89791ca0324c704a87a57c8 /plugins/http/plugin.go
parent948f28ee13a1012a7e9036f3a7c1c209ffbc4c9d (diff)
🐛 fix issue with strange messages in the http body when max request
size reached. Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/http/plugin.go')
-rw-r--r--plugins/http/plugin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/http/plugin.go b/plugins/http/plugin.go
index 69d13bc8..82cf76ed 100644
--- a/plugins/http/plugin.go
+++ b/plugins/http/plugin.go
@@ -326,7 +326,7 @@ func (s *Plugin) ServeHTTP(w http.ResponseWriter, r *http.Request) {
}
r = attributes.Init(r)
- // protect the case, when user send Reset and we are replacing handler with pool
+ // protect the case, when user sendEvent Reset and we are replacing handler with pool
s.RLock()
s.handler.ServeHTTP(w, r)
s.RUnlock()