aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ranch_protocol.erl3
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()}.