diff options
author | Loïc Hoguin <[email protected]> | 2012-08-06 14:23:16 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2012-08-06 14:23:16 +0200 |
commit | eabb029895c8345ccedc41ed28a023d0e75c7e0e (patch) | |
tree | 781eff89e48b702c2b3f9f0e62f0366c3dfe08ae /doc | |
parent | 6b354c1124035c54b6648665aafbe7197b34bd0e (diff) | |
download | ranch-eabb029895c8345ccedc41ed28a023d0e75c7e0e.tar.gz ranch-eabb029895c8345ccedc41ed28a023d0e75c7e0e.tar.bz2 ranch-eabb029895c8345ccedc41ed28a023d0e75c7e0e.zip |
Check the accept/2 return value for errors
Distinguish the errors from transport_accept and ssl_accept
in ranch_ssl. {error, closed} for the first one means the listening
socket got closed; for the second one it means the connection
socket was.
Ignore all errors except when the listening socket got closed,
where we want to crash to allow opening the socket again.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions