From d2a3f2cedd7c00d0933222aed9c06b3149aa4db4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Wed, 4 Apr 2018 13:13:37 +0200 Subject: Cowboy 2.3.0 --- docs/en/ranch/1.2/guide/embedded/index.html | 4 ++-- docs/en/ranch/1.2/guide/index.html | 2 +- docs/en/ranch/1.2/guide/internals/index.html | 4 ++-- docs/en/ranch/1.2/guide/introduction/index.html | 2 +- docs/en/ranch/1.2/guide/listeners/index.html | 26 ++++++++++++------------- docs/en/ranch/1.2/guide/parsers/index.html | 8 ++++---- docs/en/ranch/1.2/guide/protocols/index.html | 10 +++++----- docs/en/ranch/1.2/guide/ssl_auth/index.html | 8 ++++---- docs/en/ranch/1.2/guide/transports/index.html | 18 ++++++++--------- 9 files changed, 41 insertions(+), 41 deletions(-) (limited to 'docs/en/ranch/1.2/guide') diff --git a/docs/en/ranch/1.2/guide/embedded/index.html b/docs/en/ranch/1.2/guide/embedded/index.html index 4c766f00..7e1c6f32 100644 --- a/docs/en/ranch/1.2/guide/embedded/index.html +++ b/docs/en/ranch/1.2/guide/embedded/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Embedded mode @@ -90,7 +90,7 @@ convenience function.

application’s supervision tree.

Embed Ranch directly in your supervision tree
-
diff --git a/docs/en/ranch/1.2/guide/index.html b/docs/en/ranch/1.2/guide/index.html index 3e109e33..468e49a4 100644 --- a/docs/en/ranch/1.2/guide/index.html +++ b/docs/en/ranch/1.2/guide/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Ranch User Guide diff --git a/docs/en/ranch/1.2/guide/internals/index.html b/docs/en/ranch/1.2/guide/internals/index.html index ef756b9d..39f8a3d9 100644 --- a/docs/en/ranch/1.2/guide/internals/index.html +++ b/docs/en/ranch/1.2/guide/internals/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Internals @@ -146,7 +146,7 @@ resources to idle connections.

To enable this mechanism, the following option can be used.

Using raw transport options
-
diff --git a/docs/en/ranch/1.2/guide/introduction/index.html b/docs/en/ranch/1.2/guide/introduction/index.html index 544a350b..61ae60cc 100644 --- a/docs/en/ranch/1.2/guide/introduction/index.html +++ b/docs/en/ranch/1.2/guide/introduction/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Introduction diff --git a/docs/en/ranch/1.2/guide/listeners/index.html b/docs/en/ranch/1.2/guide/listeners/index.html index cf99a5ae..75482da6 100644 --- a/docs/en/ranch/1.2/guide/listeners/index.html +++ b/docs/en/ranch/1.2/guide/listeners/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Listeners @@ -110,7 +110,7 @@ function. Before doing so however, you must ensure that the ranch application is started.

Starting the Ranch application
-
@@ -120,7 +120,7 @@ have a pool of 100 acceptors, use a TCP transport and forward connections to the echo_protocol handler.

Starting a listener for TCP connections on port 5555
-
@@ -133,7 +133,7 @@ examples directory. To do so, open a shell in the examples/tcp_echo/ directory and run the following command:

Building and starting a Ranch example
-
@@ -144,7 +144,7 @@ the Ctrl+] key to escape to the telnet command line and type quit to exit.

Connecting to the example listener with telnet
-
@@ -171,7 +171,7 @@ as argument. In the previous section we started the listener named tcp_echo. We can now stop it.

Stopping a listener
-
@@ -199,7 +199,7 @@ start listening on a random port.

argument is the name of the listener you gave in ranch:start_listener/6.

Starting a listener for TCP connections on a random port
-
@@ -250,7 +250,7 @@ prevent your system from being overloaded and ensuring all the connections are handled optimally.

Customizing the maximum number of concurrent connections
-
@@ -261,7 +261,7 @@ http://www.gnu.org/software/src-highlite -->

You can disable this limit by setting its value to the atom infinity.

Disabling the limit for the number of connections
-
@@ -279,7 +279,7 @@ much resources and can safely be removed from the count.

with the name of the listener as the only argument.

Removing a connection from the count of connections
-
@@ -291,7 +291,7 @@ using the ranch:set_max_connections/2 function, with the name of th listener as first argument and the new value as the second.

Upgrading the maximum number of connections
-
@@ -331,7 +331,7 @@ with the name of the listener as first argument and the new options as the second.

Upgrading the protocol options
-
@@ -341,7 +341,7 @@ http://www.gnu.org/software/src-highlite --> calling ranch:get_protocol_options/1.

Retrieving the current protocol options
-
diff --git a/docs/en/ranch/1.2/guide/parsers/index.html b/docs/en/ranch/1.2/guide/parsers/index.html index 9221320f..b85ff3f4 100644 --- a/docs/en/ranch/1.2/guide/parsers/index.html +++ b/docs/en/ranch/1.2/guide/parsers/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Writing parsers @@ -101,7 +101,7 @@ do anything with them until we receive the full line.

A simple way to get a full line is to use binary:split/{2,3}.

Using binary:split/2 to get a line of input
-
@@ -120,7 +120,7 @@ split, here on space. The difference is that we want to split on all spaces character, as we want to tokenize the whole string.

Using binary:split/3 to split text
-
@@ -153,7 +153,7 @@ And even other times little-endian is used instead of big-endian.

The general idea stays the same though.

Using binary pattern matching to split frames
-
diff --git a/docs/en/ranch/1.2/guide/protocols/index.html b/docs/en/ranch/1.2/guide/protocols/index.html index ab2c374c..ee007267 100644 --- a/docs/en/ranch/1.2/guide/protocols/index.html +++ b/docs/en/ranch/1.2/guide/protocols/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Protocols @@ -85,7 +85,7 @@ This will ensure the connection process is the owner of the socket. It expects the listener’s name as argument.

Acknowledge accepting the socket
-
@@ -98,7 +98,7 @@ for that purpose.

in examples/tcp_echo/.

Protocol module that echoes everything it receives
-
@@ -142,7 +142,7 @@ processes), then perform any needed operations before falling back into the normal gen_server execution loop.

Use a gen_server for protocol handling
-
@@ -170,7 +170,7 @@ ends. If you return a timeout value of 0 then the gen_server< handle_info(timeout, _, _) right away.

Use a gen_server for protocol handling, method 2
-
diff --git a/docs/en/ranch/1.2/guide/ssl_auth/index.html b/docs/en/ranch/1.2/guide/ssl_auth/index.html index 71a1d061..6f54d96c 100644 --- a/docs/en/ranch/1.2/guide/ssl_auth/index.html +++ b/docs/en/ranch/1.2/guide/ssl_auth/index.html @@ -7,7 +7,7 @@ - + Nine Nines: SSL client authentication @@ -148,7 +148,7 @@ You need to specify the {verify, verify_peer} option when starting the listener to enable this behavior.

Configure a listener for SSL authentication
-
@@ -178,7 +178,7 @@ required. If you have your users' certificate files, you can simply load the certificate and retrieve the information directly.

Retrieve the issuer ID from a certificate
-
@@ -203,7 +203,7 @@ certificate was found. This snippet is intended to be used from your protocol code.

Retrieve the issuer ID from the certificate for the current connection
-
diff --git a/docs/en/ranch/1.2/guide/transports/index.html b/docs/en/ranch/1.2/guide/transports/index.html index e23ba498..da9314e7 100644 --- a/docs/en/ranch/1.2/guide/transports/index.html +++ b/docs/en/ranch/1.2/guide/transports/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Transports @@ -88,7 +88,7 @@ to automatically start them. It will not try to stop them when the listener is removed, however.

Starting the SSL application
-
@@ -113,7 +113,7 @@ function. The data can be given as iodata(), which is defined as binary() | iolist(). All the following calls will work:

Sending data to the socket
-
@@ -136,7 +136,7 @@ If you are not expecting a precise size, you can specify 0 which will make this call return as soon as data was read, regardless of its size.

Receiving data from the socket in passive mode
-
@@ -172,7 +172,7 @@ depending on the transport being used. To be able to properly match on them you must first call the Transport:messages/0 function.

Retrieving the transport’s active message identifiers
-
@@ -181,7 +181,7 @@ http://www.gnu.org/software/src-highlite --> function, and do so every time you want to receive data.

Receiving messages from the socket in active mode
-
@@ -207,7 +207,7 @@ handler and Socket is a connected socket obtained through the liste

To send a whole file, with name Filename, over a socket:

Sending a file by filename
-
@@ -216,7 +216,7 @@ http://www.gnu.org/software/src-highlite --> bytes and chunks of size ChunkSize:

Sending part of a file by filename in chunks
-
@@ -226,7 +226,7 @@ http://www.gnu.org/software/src-highlite --> possible to use a file descriptor opened in raw mode:

Sending a file opened in raw mode
-
-- cgit v1.2.3