[99s-extend] Fwd: multiple handler instances

Samir Sow samset at wanadoo.fr
Thu Nov 21 16:23:43 CET 2013


Solved.
I overlooked to have different refs for each call.

Samir Sow

Begin forwarded message:

> From: Samir Sow <samset at wanadoo.fr>
> Date: 21 novembre 2013 15:58:09 HNEC
> To: extend at lists.ninenines.eu
> Subject: multiple handler instances 
> 
> Hi,
> 
> I have an issue.
> 
> I'd like to start 2 http handler in the same application
> So i did to cowboy:start_http call + different port + dispatch route sets in the supervisor init method.
> 
> When the application starts there is no error but when i look the network tables i only see the binding for the first call.
> If i comment out the first call i see the second binding.
> 
> Is there any limitation ?
> If yes any workaround to share ?
> 
> Thank you.
> 
> 
> Samir Sow




More information about the Extend mailing list