diff options
Diffstat (limited to 'archives/extend/2013-June')
-rw-r--r-- | archives/extend/2013-June/000150.html | 96 | ||||
-rw-r--r-- | archives/extend/2013-June/000151.html | 86 | ||||
-rw-r--r-- | archives/extend/2013-June/author.html | 57 | ||||
-rw-r--r-- | archives/extend/2013-June/date.html | 57 | ||||
-rw-r--r-- | archives/extend/2013-June/index.html | 59 | ||||
-rw-r--r-- | archives/extend/2013-June/subject.html | 57 | ||||
-rw-r--r-- | archives/extend/2013-June/thread.html | 59 |
7 files changed, 471 insertions, 0 deletions
diff --git a/archives/extend/2013-June/000150.html b/archives/extend/2013-June/000150.html new file mode 100644 index 00000000..a50c48bf --- /dev/null +++ b/archives/extend/2013-June/000150.html @@ -0,0 +1,96 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Cowboy handler and custom gen_server link + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20handler%20and%20custom%20gen_server%20link&In-Reply-To=%3CCAM%3Dnw2VPVVFjVW22fwzA-poQJbM4Yakh9-cZ8L5igHMVi-BSoA%40mail.gmail.com%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="Next" HREF="000151.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Cowboy handler and custom gen_server link</H1> + <B>Max Grigoriev</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Cowboy%20handler%20and%20custom%20gen_server%20link&In-Reply-To=%3CCAM%3Dnw2VPVVFjVW22fwzA-poQJbM4Yakh9-cZ8L5igHMVi-BSoA%40mail.gmail.com%3E" + TITLE="[99s-extend] Cowboy handler and custom gen_server link">darkit at gmail.com + </A><BR> + <I>Wed Jun 5 21:50:25 CEST 2013</I> + <P><UL> + + <LI>Next message: <A HREF="000151.html">[99s-extend] [ANN] Cowboy 0.8.6 and Ranch 0.8.4 (R16B01 compatible) +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#150">[ date ]</a> + <a href="thread.html#150">[ thread ]</a> + <a href="subject.html#150">[ subject ]</a> + <a href="author.html#150">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Hi, + +I'm trying to implement REST handler which communicates to custom +gen_servers. + +Get gen_server from supervisor and link to current handler process: + +rest_init(Req, _Opts) -> +... + process_flag(trap_exit, true), + {ok, Pid} = pbshare_logic_sup:start_registration(), + link(Pid), +... + +make_get(Req, State) -> +.... +make error here !!! +.... + + +And gen_server code: +start_link() -> + gen_server:start_link(?MODULE, [], []). + +init(Args) -> + process_flag(trap_exit, true), + {ok, []}. + +handle_info({'EXIT', FromPid, Reason}, State) -> + lager:info("Exit Logic from ~p Reason: ~p~n", [FromPid, Reason]), + {noreply, State}; + +So I expect to receive EXIT signal from REST handler to my gen_server when +error occurs in cowboy. +But I don't receive it. Am I doing something wrong? +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20130605/568478c8/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20130605/568478c8/attachment.html</A>> +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + + <LI>Next message: <A HREF="000151.html">[99s-extend] [ANN] Cowboy 0.8.6 and Ranch 0.8.4 (R16B01 compatible) +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#150">[ date ]</a> + <a href="thread.html#150">[ thread ]</a> + <a href="subject.html#150">[ subject ]</a> + <a href="author.html#150">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/archives/extend/2013-June/000151.html b/archives/extend/2013-June/000151.html new file mode 100644 index 00000000..9393761f --- /dev/null +++ b/archives/extend/2013-June/000151.html @@ -0,0 +1,86 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] [ANN] Cowboy 0.8.6 and Ranch 0.8.4 (R16B01 compatible) + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20%5BANN%5D%20Cowboy%200.8.6%20and%20Ranch%200.8.4%20%28R16B01%20compatible%29&In-Reply-To=%3C51C30E86.8050305%40ninenines.eu%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="000150.html"> + + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] [ANN] Cowboy 0.8.6 and Ranch 0.8.4 (R16B01 compatible)</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20%5BANN%5D%20Cowboy%200.8.6%20and%20Ranch%200.8.4%20%28R16B01%20compatible%29&In-Reply-To=%3C51C30E86.8050305%40ninenines.eu%3E" + TITLE="[99s-extend] [ANN] Cowboy 0.8.6 and Ranch 0.8.4 (R16B01 compatible)">essen at ninenines.eu + </A><BR> + <I>Thu Jun 20 16:15:34 CEST 2013</I> + <P><UL> + <LI>Previous message: <A HREF="000150.html">[99s-extend] Cowboy handler and custom gen_server link +</A></li> + + <LI> <B>Messages sorted by:</B> + <a href="date.html#151">[ date ]</a> + <a href="thread.html#151">[ thread ]</a> + <a href="subject.html#151">[ subject ]</a> + <a href="author.html#151">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Hello, + +Just a heads up, a new version of Cowboy and Ranch has been pushed that +fixes compilation and documentation for R16B01: you now need the asn1 +application to be started when using SSL. They will be started +automatically if they weren't before, but you will need them in your +release (done automatically with relx). + +Other interesting changes for Cowboy include: + + * Support for compression of Websocket frames (thanks Ali Sabil) + + * Initial support for SPDY + +Both are experimental features and undocumented at this point, but +feedback is more than welcome. See the changelog for more information. + + * <A HREF="https://github.com/extend/cowboy">https://github.com/extend/cowboy</A> + * <A HREF="https://github.com/extend/ranch">https://github.com/extend/ranch</A> + +Enjoy! + +-- +Loïc Hoguin +Erlang Cowboy +Nine Nines +<A HREF="http://ninenines.eu">http://ninenines.eu</A> + +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000150.html">[99s-extend] Cowboy handler and custom gen_server link +</A></li> + + <LI> <B>Messages sorted by:</B> + <a href="date.html#151">[ date ]</a> + <a href="thread.html#151">[ thread ]</a> + <a href="subject.html#151">[ subject ]</a> + <a href="author.html#151">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend +mailing list</a><br> +</body></html> diff --git a/archives/extend/2013-June/author.html b/archives/extend/2013-June/author.html new file mode 100644 index 00000000..635bdc2a --- /dev/null +++ b/archives/extend/2013-June/author.html @@ -0,0 +1,57 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <title>The Extend June 2013 Archive by author</title> + <META NAME="robots" CONTENT="noindex,follow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <a name="start"></A> + <h1>June 2013 Archives by author</h1> + <ul> + <li> <b>Messages sorted by:</b> + <a href="thread.html#start">[ thread ]</a> + <a href="subject.html#start">[ subject ]</a> + + <a href="date.html#start">[ date ]</a> + + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p><b>Starting:</b> <i>Wed Jun 5 21:50:25 CEST 2013</i><br> + <b>Ending:</b> <i>Thu Jun 20 16:15:34 CEST 2013</i><br> + <b>Messages:</b> 2<p> + <ul> + +<LI><A HREF="000150.html">[99s-extend] Cowboy handler and custom gen_server link +</A><A NAME="150"> </A> +<I>Max Grigoriev +</I> + +<LI><A HREF="000151.html">[99s-extend] [ANN] Cowboy 0.8.6 and Ranch 0.8.4 (R16B01 compatible) +</A><A NAME="151"> </A> +<I>Loïc Hoguin +</I> + + </ul> + <p> + <a name="end"><b>Last message date:</b></a> + <i>Thu Jun 20 16:15:34 CEST 2013</i><br> + <b>Archived on:</b> <i>Wed May 28 18:41:44 CEST 2014</i> + <p> + <ul> + <li> <b>Messages sorted by:</b> + <a href="thread.html#start">[ thread ]</a> + <a href="subject.html#start">[ subject ]</a> + + <a href="date.html#start">[ date ]</a> + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p> + <hr> + <i>This archive was generated by + Pipermail 0.09 (Mailman edition).</i> + </BODY> +</HTML> + diff --git a/archives/extend/2013-June/date.html b/archives/extend/2013-June/date.html new file mode 100644 index 00000000..065c03ec --- /dev/null +++ b/archives/extend/2013-June/date.html @@ -0,0 +1,57 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <title>The Extend June 2013 Archive by date</title> + <META NAME="robots" CONTENT="noindex,follow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <a name="start"></A> + <h1>June 2013 Archives by date</h1> + <ul> + <li> <b>Messages sorted by:</b> + <a href="thread.html#start">[ thread ]</a> + <a href="subject.html#start">[ subject ]</a> + <a href="author.html#start">[ author ]</a> + + + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p><b>Starting:</b> <i>Wed Jun 5 21:50:25 CEST 2013</i><br> + <b>Ending:</b> <i>Thu Jun 20 16:15:34 CEST 2013</i><br> + <b>Messages:</b> 2<p> + <ul> + +<LI><A HREF="000150.html">[99s-extend] Cowboy handler and custom gen_server link +</A><A NAME="150"> </A> +<I>Max Grigoriev +</I> + +<LI><A HREF="000151.html">[99s-extend] [ANN] Cowboy 0.8.6 and Ranch 0.8.4 (R16B01 compatible) +</A><A NAME="151"> </A> +<I>Loïc Hoguin +</I> + + </ul> + <p> + <a name="end"><b>Last message date:</b></a> + <i>Thu Jun 20 16:15:34 CEST 2013</i><br> + <b>Archived on:</b> <i>Wed May 28 18:41:44 CEST 2014</i> + <p> + <ul> + <li> <b>Messages sorted by:</b> + <a href="thread.html#start">[ thread ]</a> + <a href="subject.html#start">[ subject ]</a> + <a href="author.html#start">[ author ]</a> + + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p> + <hr> + <i>This archive was generated by + Pipermail 0.09 (Mailman edition).</i> + </BODY> +</HTML> + diff --git a/archives/extend/2013-June/index.html b/archives/extend/2013-June/index.html new file mode 100644 index 00000000..8e8eb77e --- /dev/null +++ b/archives/extend/2013-June/index.html @@ -0,0 +1,59 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <title>The Extend June 2013 Archive by thread</title> + <META NAME="robots" CONTENT="noindex,follow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <a name="start"></A> + <h1>June 2013 Archives by thread</h1> + <ul> + <li> <b>Messages sorted by:</b> + + <a href="subject.html#start">[ subject ]</a> + <a href="author.html#start">[ author ]</a> + <a href="date.html#start">[ date ]</a> + + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p><b>Starting:</b> <i>Wed Jun 5 21:50:25 CEST 2013</i><br> + <b>Ending:</b> <i>Thu Jun 20 16:15:34 CEST 2013</i><br> + <b>Messages:</b> 2<p> + <ul> + +<!--0 01370461825.150- --> +<LI><A HREF="000150.html">[99s-extend] Cowboy handler and custom gen_server link +</A><A NAME="150"> </A> +<I>Max Grigoriev +</I> + +<!--0 01371737734.151- --> +<LI><A HREF="000151.html">[99s-extend] [ANN] Cowboy 0.8.6 and Ranch 0.8.4 (R16B01 compatible) +</A><A NAME="151"> </A> +<I>Loïc Hoguin +</I> + + </ul> + <p> + <a name="end"><b>Last message date:</b></a> + <i>Thu Jun 20 16:15:34 CEST 2013</i><br> + <b>Archived on:</b> <i>Wed May 28 18:41:44 CEST 2014</i> + <p> + <ul> + <li> <b>Messages sorted by:</b> + + <a href="subject.html#start">[ subject ]</a> + <a href="author.html#start">[ author ]</a> + <a href="date.html#start">[ date ]</a> + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p> + <hr> + <i>This archive was generated by + Pipermail 0.09 (Mailman edition).</i> + </BODY> +</HTML> + diff --git a/archives/extend/2013-June/subject.html b/archives/extend/2013-June/subject.html new file mode 100644 index 00000000..6038dd9d --- /dev/null +++ b/archives/extend/2013-June/subject.html @@ -0,0 +1,57 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <title>The Extend June 2013 Archive by subject</title> + <META NAME="robots" CONTENT="noindex,follow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <a name="start"></A> + <h1>June 2013 Archives by subject</h1> + <ul> + <li> <b>Messages sorted by:</b> + <a href="thread.html#start">[ thread ]</a> + + <a href="author.html#start">[ author ]</a> + <a href="date.html#start">[ date ]</a> + + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p><b>Starting:</b> <i>Wed Jun 5 21:50:25 CEST 2013</i><br> + <b>Ending:</b> <i>Thu Jun 20 16:15:34 CEST 2013</i><br> + <b>Messages:</b> 2<p> + <ul> + +<LI><A HREF="000151.html">[99s-extend] [ANN] Cowboy 0.8.6 and Ranch 0.8.4 (R16B01 compatible) +</A><A NAME="151"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000150.html">[99s-extend] Cowboy handler and custom gen_server link +</A><A NAME="150"> </A> +<I>Max Grigoriev +</I> + + </ul> + <p> + <a name="end"><b>Last message date:</b></a> + <i>Thu Jun 20 16:15:34 CEST 2013</i><br> + <b>Archived on:</b> <i>Wed May 28 18:41:44 CEST 2014</i> + <p> + <ul> + <li> <b>Messages sorted by:</b> + <a href="thread.html#start">[ thread ]</a> + + <a href="author.html#start">[ author ]</a> + <a href="date.html#start">[ date ]</a> + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p> + <hr> + <i>This archive was generated by + Pipermail 0.09 (Mailman edition).</i> + </BODY> +</HTML> + diff --git a/archives/extend/2013-June/thread.html b/archives/extend/2013-June/thread.html new file mode 100644 index 00000000..8e8eb77e --- /dev/null +++ b/archives/extend/2013-June/thread.html @@ -0,0 +1,59 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <title>The Extend June 2013 Archive by thread</title> + <META NAME="robots" CONTENT="noindex,follow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <a name="start"></A> + <h1>June 2013 Archives by thread</h1> + <ul> + <li> <b>Messages sorted by:</b> + + <a href="subject.html#start">[ subject ]</a> + <a href="author.html#start">[ author ]</a> + <a href="date.html#start">[ date ]</a> + + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p><b>Starting:</b> <i>Wed Jun 5 21:50:25 CEST 2013</i><br> + <b>Ending:</b> <i>Thu Jun 20 16:15:34 CEST 2013</i><br> + <b>Messages:</b> 2<p> + <ul> + +<!--0 01370461825.150- --> +<LI><A HREF="000150.html">[99s-extend] Cowboy handler and custom gen_server link +</A><A NAME="150"> </A> +<I>Max Grigoriev +</I> + +<!--0 01371737734.151- --> +<LI><A HREF="000151.html">[99s-extend] [ANN] Cowboy 0.8.6 and Ranch 0.8.4 (R16B01 compatible) +</A><A NAME="151"> </A> +<I>Loïc Hoguin +</I> + + </ul> + <p> + <a name="end"><b>Last message date:</b></a> + <i>Thu Jun 20 16:15:34 CEST 2013</i><br> + <b>Archived on:</b> <i>Wed May 28 18:41:44 CEST 2014</i> + <p> + <ul> + <li> <b>Messages sorted by:</b> + + <a href="subject.html#start">[ subject ]</a> + <a href="author.html#start">[ author ]</a> + <a href="date.html#start">[ date ]</a> + <li><b><a href="https://lists.ninenines.eu/listinfo/extend">More info on this list... + </a></b></li> + </ul> + <p> + <hr> + <i>This archive was generated by + Pipermail 0.09 (Mailman edition).</i> + </BODY> +</HTML> + |