aboutsummaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorJames Fish <[email protected]>2013-04-01 23:15:45 +0100
committerJames Fish <[email protected]>2013-04-02 17:51:07 +0100
commita700368b2cb021bb1cd007697db4a3bae0099f2d (patch)
treeb745209e415ffcc597c2957d8dfe2acc22a6b0f6 /.gitignore
parent8203188155aa9243a4cdcec4962d9b190d2acb5b (diff)
downloadranch-a700368b2cb021bb1cd007697db4a3bae0099f2d.tar.gz
ranch-a700368b2cb021bb1cd007697db4a3bae0099f2d.tar.bz2
ranch-a700368b2cb021bb1cd007697db4a3bae0099f2d.zip
Fix ranch_server:set_connections_sup/2 race conditions
A ranch_conns_sup could be (re)started and call ranch_server:set_connections_sup/2 before ranch_server has handled the predecessor's exit. This would cause the ranch_server to crash because ets:insert_new/2 would return false. This change allows ranch_server to handle this case by crashing the calling process instead of itself.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions