aboutsummaryrefslogtreecommitdiffstats
path: root/manual
diff options
context:
space:
mode:
Diffstat (limited to 'manual')
-rw-r--r--manual/cowboy.md2
-rw-r--r--manual/cowboy_req.md3
2 files changed, 3 insertions, 2 deletions
diff --git a/manual/cowboy.md b/manual/cowboy.md
index c2ef859..0eab0f8 100644
--- a/manual/cowboy.md
+++ b/manual/cowboy.md
@@ -76,7 +76,7 @@ Exports
> Start listening for SPDY connections. Returns the pid for this
> listener's supervisor.
-### stop_listener(Ref) -> ok
+### stop_listener(Ref) -> ok | {error, not_found}
> Types:
> * Ref = ranch:ref()
diff --git a/manual/cowboy_req.md b/manual/cowboy_req.md
index b943ea0..91139ac 100644
--- a/manual/cowboy_req.md
+++ b/manual/cowboy_req.md
@@ -614,7 +614,8 @@ Response related exports
>
> If a `Length` is provided, it will be sent in the
> content-length header in the response. It is recommended
-> to set the length if it can be known in advance.
+> to set the length if it can be known in advance. Otherwise,
+> the transfer-encoding header will be set to identity.
>
> This function will only be called if the response is sent
> using the `reply/2` or `reply/3` function.