From c867ec582d445b251ff659ba23f522b5278d5119 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 20 Aug 2015 14:28:16 +0200 Subject: Add tests and more docs about separate supervisor/connection --- src/ranch_protocol.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/ranch_protocol.erl b/src/ranch_protocol.erl index 397b227..1f70962 100644 --- a/src/ranch_protocol.erl +++ b/src/ranch_protocol.erl @@ -20,4 +20,5 @@ Socket::any(), Transport::module(), ProtocolOptions::any()) - -> {ok, ConnectionPid::pid()}. + -> {ok, ConnectionPid::pid()} + | {ok, SupPid::pid(), ConnectionPid::pid()}. -- cgit v1.2.3