[erlang-questions] What is the right way to update cowboy dispatch rules on-fly?

Max Lapshin max.lapshin@REDACTED
Mon Sep 3 21:46:02 CEST 2012


I'm trying to update routes.

I call cowboy:set_protocol_options with new dispatch rules.
After this I reload page in web browser (firefox) and see in logs that
some process is still using old dispatch map.

It looks, like cowboy_acceptor is starting child in acceptor/7 with old options.



More information about the erlang-questions mailing list