From c4b13de35093b72a84c8782c0e8b0461d4aeaa13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 2 May 2023 11:31:28 +0200 Subject: Small Cowboy user guide fix --- docs/en/cowboy/2.10/guide/listeners.asciidoc | 2 +- docs/en/cowboy/2.10/guide/listeners/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/en/cowboy') diff --git a/docs/en/cowboy/2.10/guide/listeners.asciidoc b/docs/en/cowboy/2.10/guide/listeners.asciidoc index 04169f9a..40aff83e 100644 --- a/docs/en/cowboy/2.10/guide/listeners.asciidoc +++ b/docs/en/cowboy/2.10/guide/listeners.asciidoc @@ -7,7 +7,7 @@ Depending on the connection handshake, one or another protocol may be used. This chapter is specific to Cowboy. Please refer to the -https://ninenines.eu/docs/en/ranch/1.3/guide/listeners/[Ranch User Guide] +https://ninenines.eu/docs/en/ranch/1.8/guide/listeners/[Ranch User Guide] for more information about listeners. Cowboy provides two types of listeners: one listening for diff --git a/docs/en/cowboy/2.10/guide/listeners/index.html b/docs/en/cowboy/2.10/guide/listeners/index.html index a99ff301..2689c5be 100644 --- a/docs/en/cowboy/2.10/guide/listeners/index.html +++ b/docs/en/cowboy/2.10/guide/listeners/index.html @@ -62,7 +62,7 @@

Listeners

A listener is a set of processes that listens on a port for new connections. Incoming connections get handled by Cowboy. Depending on the connection handshake, one or another protocol may be used.

-

This chapter is specific to Cowboy. Please refer to the Ranch User Guide for more information about listeners.

+

This chapter is specific to Cowboy. Please refer to the Ranch User Guide for more information about listeners.

Cowboy provides two types of listeners: one listening for clear TCP connections, and one listening for secure TLS connections. Both of them support the HTTP/1.1 and HTTP/2 protocols.

Clear TCP listener

The clear TCP listener will accept connections on the given port. A typical HTTP server would listen on port 80. Port 80 requires special permissions on most platforms however so a common alternative is port 8080.

-- cgit v1.2.3