From f3ab9ef65d948469e864184bcf95114bf8025ad1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 9 Jun 2017 11:44:12 +0200 Subject: Release the tale of 2.0 cowboy slides --- docs/en/ranch/1.3/guide/protocols/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/en/ranch/1.3/guide/protocols/index.html') diff --git a/docs/en/ranch/1.3/guide/protocols/index.html b/docs/en/ranch/1.3/guide/protocols/index.html index a29a93a8..45e13bf7 100644 --- a/docs/en/ranch/1.3/guide/protocols/index.html +++ b/docs/en/ranch/1.3/guide/protocols/index.html @@ -77,7 +77,7 @@ which defines a single callback, start_link/4. This callback is responsible for spawning a new process for handling the connection. It receives four arguments: the name of the listener, the socket, the transport handler being used and the protocol options defined in -the call to ranch:start_listener/6. This callback must +the call to ranch:start_listener/5. This callback must return {ok, Pid}, with Pid the pid of the new process.

The newly started process can then freely initialize itself. However, it must call ranch:accept_ack/1 before doing any socket operation. -- cgit v1.2.3