@@ -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