From 527b3aba84213ef0e2e4d99da7b795e2b0b0aec7 Mon Sep 17 00:00:00 2001 From: "Kian-Meng, Ang" Date: Tue, 31 Aug 2021 23:08:49 +0800 Subject: Fix typos --- doc/src/guide/listeners.asciidoc | 6 +++--- doc/src/guide/ssl_auth.asciidoc | 2 +- doc/src/manual/ranch_proxy_header.asciidoc | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/src/guide/listeners.asciidoc b/doc/src/guide/listeners.asciidoc index 3e7254d..3835c64 100644 --- a/doc/src/guide/listeners.asciidoc +++ b/doc/src/guide/listeners.asciidoc @@ -122,11 +122,11 @@ by calling `ranch:get_status/1` with the listener name as argument. By default the socket will be set to return `binary` data, with the options `{active, false}`, `{packet, raw}`, `{reuseaddr, true}` set. -These values can't be overriden when starting the listener, but -they can be overriden using `Transport:setopts/2` in the protocol. +These values can't be overridden when starting the listener, but +they can be overridden using `Transport:setopts/2` in the protocol. It will also set `{backlog, 1024}` and `{nodelay, true}`, which -can be overriden at listener startup. +can be overridden at listener startup. === Listening on a random port diff --git a/doc/src/guide/ssl_auth.asciidoc b/doc/src/guide/ssl_auth.asciidoc index 1ae91e4..f4364d0 100644 --- a/doc/src/guide/ssl_auth.asciidoc +++ b/doc/src/guide/ssl_auth.asciidoc @@ -10,7 +10,7 @@ based authentication to attain greater security. The server only needs to retain the certificate serial number and the certificate issuer to authenticate the certificate. Together, -they can be used to uniquely identify a certicate. +they can be used to uniquely identify a certificate. As Ranch allows the same protocol code to be used for both SSL and non-SSL transports, you need to make sure you are in an SSL context diff --git a/doc/src/manual/ranch_proxy_header.asciidoc b/doc/src/manual/ranch_proxy_header.asciidoc index 7155c5e..04f183b 100644 --- a/doc/src/manual/ranch_proxy_header.asciidoc +++ b/doc/src/manual/ranch_proxy_header.asciidoc @@ -110,7 +110,7 @@ The namespace's name for the original connection. ssl:: -Various informations pertaining to the original SSL/TLS +Various information pertaining to the original SSL/TLS connection. client::: -- cgit v1.2.3