summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/api/http.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/http.md b/doc/api/http.md
index 44bea87e3b..9762abd27e 100644
--- a/doc/api/http.md
+++ b/doc/api/http.md
@@ -1798,8 +1798,8 @@ added: v0.3.0
* `error` {Error}
Calls `destroy()` on the socket that received the `IncomingMessage`. If `error`
-is provided, an `'error'` event is emitted and `error` is passed as an argument
-to any listeners on the event.
+is provided, an `'error'` event is emitted on the socket and `error` is passed
+as an argument to any listeners on the event.
### message.headers
<!-- YAML