diff options
author | Loïc Hoguin <[email protected]> | 2015-08-20 14:28:16 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2015-08-20 14:28:16 +0200 |
commit | c867ec582d445b251ff659ba23f522b5278d5119 (patch) | |
tree | 50efcb176bc97207ed06a536acd2f7c56db9db98 /src/ranch_protocol.erl | |
parent | 32e4ebef2ce16b2b1fce2a4af7bb2bd7ef17f235 (diff) | |
download | ranch-c867ec582d445b251ff659ba23f522b5278d5119.tar.gz ranch-c867ec582d445b251ff659ba23f522b5278d5119.tar.bz2 ranch-c867ec582d445b251ff659ba23f522b5278d5119.zip |
Add tests and more docs about separate supervisor/connection
Diffstat (limited to 'src/ranch_protocol.erl')
-rw-r--r-- | src/ranch_protocol.erl | 3 |
1 files changed, 2 insertions, 1 deletions
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()}. |