[erlang-questions] Change suggestion in ranch/cowboy

Park, Sungjin jinni.park@REDACTED
Mon Sep 29 04:59:31 CEST 2014


Oh, I missed the function thanks.


On Fri, Sep 26, 2014 at 4:26 PM, Loïc Hoguin <essen@REDACTED> wrote:

> On 09/26/2014 05:39 AM, Park, Sungjin wrote:
>
>> 2) Dynamic parameters
>> Currently, parameters required to run ranch_protocol are stored in the
>> ranch_conns_sup and given to the ranch_protocol when spawning.  Combined
>> with cowboy, cascaded parameters like cowboy_protocol -> cowboy_router,
>> cowboy_handler -> dispatch env are constant once started.  Changing any
>> of the above requires ranch_conns_sup restart.
>>
>
> Hmm no?
>
> http://ninenines.eu/docs/en/ranch/1.0/manual/ranch/index.
> html#set_protocol_options
> http://ninenines.eu/docs/en/cowboy/1.0/manual/cowboy/index.html#set_env
>
> Changing for all existing connections is up to the application though.
>
> --
> Loïc Hoguin
> http://ninenines.eu
>



-- 
Park, Sungjin
-------------------------------------------------------------------------------------------------------------------
Peculiar travel suggestions are dancing lessons from god.
  -- The Books of Bokonon
-------------------------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140929/0c9a7dad/attachment.htm>


More information about the erlang-questions mailing list