summaryrefslogblamecommitdiffstats
path: root/archives/extend/2013-November/000305.html
blob: 7a5857e73d860e42a7f039f3f9592bcd5618beff (plain) (tree)












































































                                                                                                                                                                                                    
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
 <HEAD>
   <TITLE> [99s-extend] multiple handler instances
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20multiple%20handler%20instances&In-Reply-To=%3CEB58E3EC-A4B1-45B3-828F-31204BAF6EC0%40wanadoo.fr%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <style type="text/css">
       pre {
           white-space: pre-wrap;       /* css-2.1, curent FF, Opera, Safari */
           }
   </style>
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="000304.html">
   <LINK REL="Next"  HREF="000306.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[99s-extend] multiple handler instances</H1>
    <B>Samir Sow</B> 
    <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20multiple%20handler%20instances&In-Reply-To=%3CEB58E3EC-A4B1-45B3-828F-31204BAF6EC0%40wanadoo.fr%3E"
       TITLE="[99s-extend] multiple handler instances">samset at wanadoo.fr
       </A><BR>
    <I>Thu Nov 21 15:58:09 CET 2013</I>
    <P><UL>
        <LI>Previous message: <A HREF="000304.html">[99s-extend] Cowboy and stable
</A></li>
        <LI>Next message: <A HREF="000306.html">[99s-extend] Fwd: multiple handler instances
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#305">[ date ]</a>
              <a href="thread.html#305">[ thread ]</a>
              <a href="subject.html#305">[ subject ]</a>
              <a href="author.html#305">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>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
</PRE>

<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="000304.html">[99s-extend] Cowboy and stable
</A></li>
	<LI>Next message: <A HREF="000306.html">[99s-extend] Fwd: multiple handler instances
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#305">[ date ]</a>
              <a href="thread.html#305">[ thread ]</a>
              <a href="subject.html#305">[ subject ]</a>
              <a href="author.html#305">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend
mailing list</a><br>
</body></html>