Skip to content

Commit

Permalink
Always decrement the connection counter when a request crashes. Fixes e…
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei Neculau authored and vinoski committed Aug 26, 2015
1 parent fe75020 commit d2ad152
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/yaws_server.erl
Expand Up @@ -1120,6 +1120,7 @@ acceptor0(GS, Top) ->
{'EXIT', Reason2} ->
error_logger:error_msg("Yaws process died: ~p~n",
[Reason2]),
Top ! {self(), decrement},
exit(shutdown)
end,

Expand Down

0 comments on commit d2ad152

Please sign in to comment.