diff options
Diffstat (limited to '_build/static/archives/extend/2014-June')
20 files changed, 2174 insertions, 0 deletions
diff --git a/_build/static/archives/extend/2014-June/000390.html b/_build/static/archives/extend/2014-June/000390.html new file mode 100644 index 00000000..3c810f7c --- /dev/null +++ b/_build/static/archives/extend/2014-June/000390.html @@ -0,0 +1,76 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] cowboy client cert auth, basic auth + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy%20client%20cert%20auth%2C%20basic%20auth&In-Reply-To=%3CCAJCf5Ry4T701NtypmLkmZhbx1hWvwV-df9zF%2BiypVOkdPCULDQ%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="000393.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] cowboy client cert auth, basic auth</H1> + <B>Daniel Goertzen</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy%20client%20cert%20auth%2C%20basic%20auth&In-Reply-To=%3CCAJCf5Ry4T701NtypmLkmZhbx1hWvwV-df9zF%2BiypVOkdPCULDQ%40mail.gmail.com%3E" + TITLE="[99s-extend] cowboy client cert auth, basic auth">daniel.goertzen at gmail.com + </A><BR> + <I>Wed Jun 4 22:08:54 CEST 2014</I> + <P><UL> + + <LI>Next message: <A HREF="000393.html">[99s-extend] cowboy client cert auth, basic auth +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#390">[ date ]</a> + <a href="thread.html#390">[ thread ]</a> + <a href="subject.html#390">[ subject ]</a> + <a href="author.html#390">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>I am having very good luck with Cowboy so far, but I have some questions: + +1. There doesn't appear to be any way to do client certificate +authorization in Cowboy, although I see there is an example for doing +exactly that with Ranch. I think I could modify Cowboy to do what I want, +but I thought I would ask if there were other options before doing that. + +2. I am also looking at http basic auth. Would creating a middleware to +sit in between cowboy_router and cowboy_handler be a typical way to go +about it? + +Thanks, +Dan. +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20140604/269377d0/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20140604/269377d0/attachment.html</A>> +</PRE> + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + + <LI>Next message: <A HREF="000393.html">[99s-extend] cowboy client cert auth, basic auth +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#390">[ date ]</a> + <a href="thread.html#390">[ thread ]</a> + <a href="subject.html#390">[ subject ]</a> + <a href="author.html#390">[ 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/_build/static/archives/extend/2014-June/000391.html b/_build/static/archives/extend/2014-June/000391.html new file mode 100644 index 00000000..5f42bab4 --- /dev/null +++ b/_build/static/archives/extend/2014-June/000391.html @@ -0,0 +1,96 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Mandatory init/3 and optional handle/2 and terminate/3 + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Mandatory%20init/3%20and%20optional%20handle/2%20and%20terminate/3&In-Reply-To=%3CCA%2BdV7cT6ftWCadGesyVOsSxVG8PQi0uDRSjHF-Uot3s4hmdDTg%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="Previous" HREF="000400.html"> + <LINK REL="Next" HREF="000392.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Mandatory init/3 and optional handle/2 and terminate/3</H1> + <B>Paulo F. Oliveira</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Mandatory%20init/3%20and%20optional%20handle/2%20and%20terminate/3&In-Reply-To=%3CCA%2BdV7cT6ftWCadGesyVOsSxVG8PQi0uDRSjHF-Uot3s4hmdDTg%40mail.gmail.com%3E" + TITLE="[99s-extend] Mandatory init/3 and optional handle/2 and terminate/3">paulo.ferraz.oliveira at gmail.com + </A><BR> + <I>Wed Jun 4 23:37:14 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000400.html">[99s-extend] cowboy client cert auth, basic auth +</A></li> + <LI>Next message: <A HREF="000392.html">[99s-extend] Mandatory init/3 and optional handle/2 and terminate/3 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#391">[ date ]</a> + <a href="thread.html#391">[ thread ]</a> + <a href="subject.html#391">[ subject ]</a> + <a href="author.html#391">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Hello. + +You wrote here <<A HREF="http://ninenines.eu/docs/en/cowboy/HEAD/manual/cowboy_rest/">http://ninenines.eu/docs/en/cowboy/HEAD/manual/cowboy_rest/</A>> +that +"The only mandatory callback is init/3, needed to perform the protocol +upgrade." + +In my code I have only this function for the protocol upgrade: + +init({_TransportName, _ProtocolName}, _Req, []) -> + {upgrade, protocol, cowboy_rest}. + +On the other hand, when compiling, I get the following warnings: + +src/handler_transactions.erl:3: Warning: undefined callback function +handle/2 (behaviour 'cowboy_http_handler') +src/handler_transactions.erl:3: Warning: undefined callback function +terminate/3 (behaviour 'cowboy_http_handler') + +Is this the expected behavior? I know I _can_ ignore the warnings, but not +if I want to use Erlang compiler option warnings_as_errors, for example. + +Many thanks. + +- Paulo F. Oliveira +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20140604/407d3443/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20140604/407d3443/attachment.html</A>> +</PRE> + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000400.html">[99s-extend] cowboy client cert auth, basic auth +</A></li> + <LI>Next message: <A HREF="000392.html">[99s-extend] Mandatory init/3 and optional handle/2 and terminate/3 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#391">[ date ]</a> + <a href="thread.html#391">[ thread ]</a> + <a href="subject.html#391">[ subject ]</a> + <a href="author.html#391">[ 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/_build/static/archives/extend/2014-June/000392.html b/_build/static/archives/extend/2014-June/000392.html new file mode 100644 index 00000000..ad195989 --- /dev/null +++ b/_build/static/archives/extend/2014-June/000392.html @@ -0,0 +1,107 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Mandatory init/3 and optional handle/2 and terminate/3 + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Mandatory%20init/3%20and%20optional%20handle/2%20and%0A%09terminate/3&In-Reply-To=%3C538F93BE.4080002%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="000391.html"> + <LINK REL="Next" HREF="000395.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Mandatory init/3 and optional handle/2 and terminate/3</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Mandatory%20init/3%20and%20optional%20handle/2%20and%0A%09terminate/3&In-Reply-To=%3C538F93BE.4080002%40ninenines.eu%3E" + TITLE="[99s-extend] Mandatory init/3 and optional handle/2 and terminate/3">essen at ninenines.eu + </A><BR> + <I>Wed Jun 4 23:46:38 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000391.html">[99s-extend] Mandatory init/3 and optional handle/2 and terminate/3 +</A></li> + <LI>Next message: <A HREF="000395.html">[99s-extend] Mandatory init/3 and optional handle/2 and terminate/3 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#392">[ date ]</a> + <a href="thread.html#392">[ thread ]</a> + <a href="subject.html#392">[ subject ]</a> + <a href="author.html#392">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>You shouldn't say -behavior(cowboy_http_handler) if you don't actually +implement it. + +On 06/04/2014 11:37 PM, Paulo F. Oliveira wrote: +><i> Hello. +</I>><i> +</I>><i> You wrote here +</I>><i> <<A HREF="http://ninenines.eu/docs/en/cowboy/HEAD/manual/cowboy_rest/">http://ninenines.eu/docs/en/cowboy/HEAD/manual/cowboy_rest/</A>> that "The +</I>><i> only mandatory callback is init/3, needed to perform the protocol upgrade." +</I>><i> +</I>><i> In my code I have only this function for the protocol upgrade: +</I>><i> +</I>><i> init({_TransportName, _ProtocolName}, _Req, []) -> +</I>><i> {upgrade, protocol, cowboy_rest}. +</I>><i> +</I>><i> On the other hand, when compiling, I get the following warnings: +</I>><i> +</I>><i> src/handler_transactions.erl:3: Warning: undefined callback function +</I>><i> handle/2 (behaviour 'cowboy_http_handler') +</I>><i> src/handler_transactions.erl:3: Warning: undefined callback function +</I>><i> terminate/3 (behaviour 'cowboy_http_handler') +</I>><i> +</I>><i> Is this the expected behavior? I know I _can_ ignore the warnings, but +</I>><i> not if I want to use Erlang compiler option warnings_as_errors, for example. +</I>><i> +</I>><i> Many thanks. +</I>><i> +</I>><i> - Paulo F. Oliveira +</I>><i> +</I>><i> +</I>><i> _______________________________________________ +</I>><i> Extend mailing list +</I>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +</I>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I>><i> +</I> +-- +Loïc Hoguin +<A HREF="http://ninenines.eu">http://ninenines.eu</A> +</PRE> + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000391.html">[99s-extend] Mandatory init/3 and optional handle/2 and terminate/3 +</A></li> + <LI>Next message: <A HREF="000395.html">[99s-extend] Mandatory init/3 and optional handle/2 and terminate/3 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#392">[ date ]</a> + <a href="thread.html#392">[ thread ]</a> + <a href="subject.html#392">[ subject ]</a> + <a href="author.html#392">[ 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/_build/static/archives/extend/2014-June/000393.html b/_build/static/archives/extend/2014-June/000393.html new file mode 100644 index 00000000..af91e497 --- /dev/null +++ b/_build/static/archives/extend/2014-June/000393.html @@ -0,0 +1,82 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] cowboy client cert auth, basic auth + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy%20client%20cert%20auth%2C%20basic%20auth&In-Reply-To=%3C538F9411.6070108%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="000390.html"> + <LINK REL="Next" HREF="000394.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] cowboy client cert auth, basic auth</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy%20client%20cert%20auth%2C%20basic%20auth&In-Reply-To=%3C538F9411.6070108%40ninenines.eu%3E" + TITLE="[99s-extend] cowboy client cert auth, basic auth">essen at ninenines.eu + </A><BR> + <I>Wed Jun 4 23:48:01 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000390.html">[99s-extend] cowboy client cert auth, basic auth +</A></li> + <LI>Next message: <A HREF="000394.html">[99s-extend] cowboy client cert auth, basic auth +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#393">[ date ]</a> + <a href="thread.html#393">[ thread ]</a> + <a href="subject.html#393">[ subject ]</a> + <a href="author.html#393">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On 06/04/2014 10:08 PM, Daniel Goertzen wrote: +><i> I am having very good luck with Cowboy so far, but I have some questions: +</I>><i> +</I>><i> 1. There doesn't appear to be any way to do client certificate +</I>><i> authorization in Cowboy, although I see there is an example for doing +</I>><i> exactly that with Ranch. I think I could modify Cowboy to do what I +</I>><i> want, but I thought I would ask if there were other options before doing +</I>><i> that. +</I> +Same as Ranch really, you just gotta take the socket and then call the +ssl functions. + +><i> 2. I am also looking at http basic auth. Would creating a middleware to +</I>><i> sit in between cowboy_router and cowboy_handler be a typical way to go +</I>><i> about it? +</I> +That's a common way to do it yes. + +-- +Loïc Hoguin +<A HREF="http://ninenines.eu">http://ninenines.eu</A> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000390.html">[99s-extend] cowboy client cert auth, basic auth +</A></li> + <LI>Next message: <A HREF="000394.html">[99s-extend] cowboy client cert auth, basic auth +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#393">[ date ]</a> + <a href="thread.html#393">[ thread ]</a> + <a href="subject.html#393">[ subject ]</a> + <a href="author.html#393">[ 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/_build/static/archives/extend/2014-June/000394.html b/_build/static/archives/extend/2014-June/000394.html new file mode 100644 index 00000000..034d580f --- /dev/null +++ b/_build/static/archives/extend/2014-June/000394.html @@ -0,0 +1,94 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] cowboy client cert auth, basic auth + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy%20client%20cert%20auth%2C%20basic%20auth&In-Reply-To=%3CCAJCf5RyYUNPmVcLEV%2BVyKpA24x0Pjb15%2B7doeugeQ%3DZEJSpc6w%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="Previous" HREF="000393.html"> + <LINK REL="Next" HREF="000396.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] cowboy client cert auth, basic auth</H1> + <B>Daniel Goertzen</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy%20client%20cert%20auth%2C%20basic%20auth&In-Reply-To=%3CCAJCf5RyYUNPmVcLEV%2BVyKpA24x0Pjb15%2B7doeugeQ%3DZEJSpc6w%40mail.gmail.com%3E" + TITLE="[99s-extend] cowboy client cert auth, basic auth">daniel.goertzen at gmail.com + </A><BR> + <I>Thu Jun 5 01:44:02 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000393.html">[99s-extend] cowboy client cert auth, basic auth +</A></li> + <LI>Next message: <A HREF="000396.html">[99s-extend] cowboy client cert auth, basic auth +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#394">[ date ]</a> + <a href="thread.html#394">[ thread ]</a> + <a href="subject.html#394">[ subject ]</a> + <a href="author.html#394">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On Wed, Jun 4, 2014 at 4:48 PM, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> wrote: + +><i> On 06/04/2014 10:08 PM, Daniel Goertzen wrote: +</I>><i> +</I>>><i> I am having very good luck with Cowboy so far, but I have some questions: +</I>>><i> +</I>>><i> 1. There doesn't appear to be any way to do client certificate +</I>>><i> authorization in Cowboy, although I see there is an example for doing +</I>>><i> exactly that with Ranch. I think I could modify Cowboy to do what I +</I>>><i> want, but I thought I would ask if there were other options before doing +</I>>><i> that. +</I>>><i> +</I>><i> +</I>><i> Same as Ranch really, you just gotta take the socket and then call the ssl +</I>><i> functions. +</I>><i> +</I>><i> +</I>Yes, but in cowboy there's no API to get at the socket. + +I was thinking of adding a "onconnect" hook similar to how there are +"onrequest" and "onresponse" hooks. The hook would be called in +cowboy_protocol:init(), would accept Transport and Socket, and return a +"user connection state" term that gets stashed in the state record. The +user connection state would then be provided in the Req object to each +handler. With these features one could do whatever computation they want +on the socket and provide the result to all subsequent requests on that +socket. I want to use it for client cert checking, but it could be used +for other things such as an IP address security check. + +Dan. +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20140604/2bce99e1/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20140604/2bce99e1/attachment.html</A>> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000393.html">[99s-extend] cowboy client cert auth, basic auth +</A></li> + <LI>Next message: <A HREF="000396.html">[99s-extend] cowboy client cert auth, basic auth +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#394">[ date ]</a> + <a href="thread.html#394">[ thread ]</a> + <a href="subject.html#394">[ subject ]</a> + <a href="author.html#394">[ 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/_build/static/archives/extend/2014-June/000395.html b/_build/static/archives/extend/2014-June/000395.html new file mode 100644 index 00000000..52e04be4 --- /dev/null +++ b/_build/static/archives/extend/2014-June/000395.html @@ -0,0 +1,125 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Mandatory init/3 and optional handle/2 and terminate/3 + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Mandatory%20init/3%20and%20optional%20handle/2%20and%0A%09terminate/3&In-Reply-To=%3CCA%2BdV7cRvLwTj1L%3DmyMrjEUEju8gr0gATSXO%2BZ%2BOktsadh4y37w%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="Previous" HREF="000392.html"> + <LINK REL="Next" HREF="000401.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Mandatory init/3 and optional handle/2 and terminate/3</H1> + <B>Paulo F. Oliveira</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Mandatory%20init/3%20and%20optional%20handle/2%20and%0A%09terminate/3&In-Reply-To=%3CCA%2BdV7cRvLwTj1L%3DmyMrjEUEju8gr0gATSXO%2BZ%2BOktsadh4y37w%40mail.gmail.com%3E" + TITLE="[99s-extend] Mandatory init/3 and optional handle/2 and terminate/3">paulo.ferraz.oliveira at gmail.com + </A><BR> + <I>Thu Jun 5 01:49:01 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000392.html">[99s-extend] Mandatory init/3 and optional handle/2 and terminate/3 +</A></li> + <LI>Next message: <A HREF="000401.html">[99s-extend] [ANN] Cowboy and Ranch 0.10 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#395">[ date ]</a> + <a href="thread.html#395">[ thread ]</a> + <a href="subject.html#395">[ subject ]</a> + <a href="author.html#395">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Got it, thanks. + +This here <<A HREF="http://ninenines.eu/docs/en/cowboy/HEAD/manual/cowboy_rest/">http://ninenines.eu/docs/en/cowboy/HEAD/manual/cowboy_rest/</A>> had +the fine print that I hadn't read apparently: "This module cannot be +described as a behaviour due to most of the callbacks it defines being +optional. It has the same semantics as a behaviour otherwise." + +- Paulo F. Oliveira + + +On 4 June 2014 22:46, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> wrote: + +><i> You shouldn't say -behavior(cowboy_http_handler) if you don't actually +</I>><i> implement it. +</I>><i> +</I>><i> On 06/04/2014 11:37 PM, Paulo F. Oliveira wrote: +</I>><i> +</I>>><i> Hello. +</I>>><i> +</I>>><i> You wrote here +</I>>><i> <<A HREF="http://ninenines.eu/docs/en/cowboy/HEAD/manual/cowboy_rest/">http://ninenines.eu/docs/en/cowboy/HEAD/manual/cowboy_rest/</A>> that "The +</I>>><i> +</I>>><i> only mandatory callback is init/3, needed to perform the protocol +</I>>><i> upgrade." +</I>>><i> +</I>>><i> In my code I have only this function for the protocol upgrade: +</I>>><i> +</I>>><i> init({_TransportName, _ProtocolName}, _Req, []) -> +</I>>><i> {upgrade, protocol, cowboy_rest}. +</I>>><i> +</I>>><i> On the other hand, when compiling, I get the following warnings: +</I>>><i> +</I>>><i> src/handler_transactions.erl:3: Warning: undefined callback function +</I>>><i> handle/2 (behaviour 'cowboy_http_handler') +</I>>><i> src/handler_transactions.erl:3: Warning: undefined callback function +</I>>><i> terminate/3 (behaviour 'cowboy_http_handler') +</I>>><i> +</I>>><i> Is this the expected behavior? I know I _can_ ignore the warnings, but +</I>>><i> not if I want to use Erlang compiler option warnings_as_errors, for +</I>>><i> example. +</I>>><i> +</I>>><i> Many thanks. +</I>>><i> +</I>>><i> - Paulo F. Oliveira +</I>>><i> +</I>>><i> +</I>>><i> _______________________________________________ +</I>>><i> Extend mailing list +</I>>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +</I>>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I>>><i> +</I>>><i> +</I>><i> -- +</I>><i> Loïc Hoguin +</I>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>><i> +</I>-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20140605/46eee3c0/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20140605/46eee3c0/attachment.html</A>> +</PRE> + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000392.html">[99s-extend] Mandatory init/3 and optional handle/2 and terminate/3 +</A></li> + <LI>Next message: <A HREF="000401.html">[99s-extend] [ANN] Cowboy and Ranch 0.10 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#395">[ date ]</a> + <a href="thread.html#395">[ thread ]</a> + <a href="subject.html#395">[ subject ]</a> + <a href="author.html#395">[ 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/_build/static/archives/extend/2014-June/000396.html b/_build/static/archives/extend/2014-June/000396.html new file mode 100644 index 00000000..c40ed995 --- /dev/null +++ b/_build/static/archives/extend/2014-June/000396.html @@ -0,0 +1,94 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] cowboy client cert auth, basic auth + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy%20client%20cert%20auth%2C%20basic%20auth&In-Reply-To=%3C53902478.40303%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="000394.html"> + <LINK REL="Next" HREF="000397.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] cowboy client cert auth, basic auth</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy%20client%20cert%20auth%2C%20basic%20auth&In-Reply-To=%3C53902478.40303%40ninenines.eu%3E" + TITLE="[99s-extend] cowboy client cert auth, basic auth">essen at ninenines.eu + </A><BR> + <I>Thu Jun 5 10:04:08 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000394.html">[99s-extend] cowboy client cert auth, basic auth +</A></li> + <LI>Next message: <A HREF="000397.html">[99s-extend] cowboy client cert auth, basic auth +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#396">[ date ]</a> + <a href="thread.html#396">[ thread ]</a> + <a href="subject.html#396">[ subject ]</a> + <a href="author.html#396">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On 06/05/2014 01:44 AM, Daniel Goertzen wrote: +><i> +</I>><i> +</I>><i> +</I>><i> On Wed, Jun 4, 2014 at 4:48 PM, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A> +</I>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>>> wrote: +</I>><i> +</I>><i> On 06/04/2014 10:08 PM, Daniel Goertzen wrote: +</I>><i> +</I>><i> I am having very good luck with Cowboy so far, but I have some +</I>><i> questions: +</I>><i> +</I>><i> 1. There doesn't appear to be any way to do client certificate +</I>><i> authorization in Cowboy, although I see there is an example for +</I>><i> doing +</I>><i> exactly that with Ranch. I think I could modify Cowboy to do what I +</I>><i> want, but I thought I would ask if there were other options +</I>><i> before doing +</I>><i> that. +</I>><i> +</I>><i> +</I>><i> Same as Ranch really, you just gotta take the socket and then call +</I>><i> the ssl functions. +</I>><i> +</I>><i> +</I>><i> Yes, but in cowboy there's no API to get at the socket. +</I> +There is the undocumented function cowboy_req:get/1 which is meant for +that kind of "special" use. + +-- +Loïc Hoguin +<A HREF="http://ninenines.eu">http://ninenines.eu</A> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000394.html">[99s-extend] cowboy client cert auth, basic auth +</A></li> + <LI>Next message: <A HREF="000397.html">[99s-extend] cowboy client cert auth, basic auth +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#396">[ date ]</a> + <a href="thread.html#396">[ thread ]</a> + <a href="subject.html#396">[ subject ]</a> + <a href="author.html#396">[ 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/_build/static/archives/extend/2014-June/000397.html b/_build/static/archives/extend/2014-June/000397.html new file mode 100644 index 00000000..30d4a738 --- /dev/null +++ b/_build/static/archives/extend/2014-June/000397.html @@ -0,0 +1,124 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] cowboy client cert auth, basic auth + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy%20client%20cert%20auth%2C%20basic%20auth&In-Reply-To=%3CCAJCf5Ry4Okkua__YtfU8bO5%3DAvYKPsXzU%2B1EqyXsK7tx2q6K8w%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="Previous" HREF="000396.html"> + <LINK REL="Next" HREF="000398.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] cowboy client cert auth, basic auth</H1> + <B>Daniel Goertzen</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy%20client%20cert%20auth%2C%20basic%20auth&In-Reply-To=%3CCAJCf5Ry4Okkua__YtfU8bO5%3DAvYKPsXzU%2B1EqyXsK7tx2q6K8w%40mail.gmail.com%3E" + TITLE="[99s-extend] cowboy client cert auth, basic auth">daniel.goertzen at gmail.com + </A><BR> + <I>Thu Jun 5 23:01:12 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000396.html">[99s-extend] cowboy client cert auth, basic auth +</A></li> + <LI>Next message: <A HREF="000398.html">[99s-extend] cowboy client cert auth, basic auth +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#397">[ date ]</a> + <a href="thread.html#397">[ thread ]</a> + <a href="subject.html#397">[ subject ]</a> + <a href="author.html#397">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>But then I would have to check the client cert for each and every request. +I should have to check the cert only once at connect time and then be able +to pass the result of that check in the request to each handler. + +Anyway I've gone ahead and implemented what I need in a generic manner and +it seems to work well. I think it would be a useful addition to Cowboy. +If you agree I could write some more documentation for it. + +<A HREF="https://github.com/goertzenator/cowboy/tree/onconnect">https://github.com/goertzenator/cowboy/tree/onconnect</A> + +I added a "onconnect" hook and "connection metadata" to cowboy_req. The +connection metadata works like existing metadata, but is preserved from +request to request on the same connection. The onconnect hook provides +initial values for the connection metadata. + +Dan. + + + + +On Thu, Jun 5, 2014 at 3:04 AM, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> wrote: + +><i> On 06/05/2014 01:44 AM, Daniel Goertzen wrote: +</I>><i> +</I>>><i> +</I>>><i> +</I>>><i> +</I>>><i> On Wed, Jun 4, 2014 at 4:48 PM, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A> +</I>>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>>> wrote: +</I>>><i> +</I>>><i> On 06/04/2014 10:08 PM, Daniel Goertzen wrote: +</I>>><i> +</I>>><i> I am having very good luck with Cowboy so far, but I have some +</I>>><i> questions: +</I>>><i> +</I>>><i> 1. There doesn't appear to be any way to do client certificate +</I>>><i> authorization in Cowboy, although I see there is an example for +</I>>><i> doing +</I>>><i> exactly that with Ranch. I think I could modify Cowboy to do +</I>>><i> what I +</I>>><i> want, but I thought I would ask if there were other options +</I>>><i> before doing +</I>>><i> that. +</I>>><i> +</I>>><i> +</I>>><i> Same as Ranch really, you just gotta take the socket and then call +</I>>><i> the ssl functions. +</I>>><i> +</I>>><i> +</I>>><i> Yes, but in cowboy there's no API to get at the socket. +</I>>><i> +</I>><i> +</I>><i> There is the undocumented function cowboy_req:get/1 which is meant for +</I>><i> that kind of "special" use. +</I>><i> +</I>><i> +</I>><i> -- +</I>><i> Loïc Hoguin +</I>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>><i> +</I>-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20140605/3ba15fb3/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20140605/3ba15fb3/attachment.html</A>> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000396.html">[99s-extend] cowboy client cert auth, basic auth +</A></li> + <LI>Next message: <A HREF="000398.html">[99s-extend] cowboy client cert auth, basic auth +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#397">[ date ]</a> + <a href="thread.html#397">[ thread ]</a> + <a href="subject.html#397">[ subject ]</a> + <a href="author.html#397">[ 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/_build/static/archives/extend/2014-June/000398.html b/_build/static/archives/extend/2014-June/000398.html new file mode 100644 index 00000000..32322b35 --- /dev/null +++ b/_build/static/archives/extend/2014-June/000398.html @@ -0,0 +1,143 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] cowboy client cert auth, basic auth + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy%20client%20cert%20auth%2C%20basic%20auth&In-Reply-To=%3C5390E022.40403%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="000397.html"> + <LINK REL="Next" HREF="000399.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] cowboy client cert auth, basic auth</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy%20client%20cert%20auth%2C%20basic%20auth&In-Reply-To=%3C5390E022.40403%40ninenines.eu%3E" + TITLE="[99s-extend] cowboy client cert auth, basic auth">essen at ninenines.eu + </A><BR> + <I>Thu Jun 5 23:24:50 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000397.html">[99s-extend] cowboy client cert auth, basic auth +</A></li> + <LI>Next message: <A HREF="000399.html">[99s-extend] cowboy client cert auth, basic auth +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#398">[ date ]</a> + <a href="thread.html#398">[ thread ]</a> + <a href="subject.html#398">[ subject ]</a> + <a href="author.html#398">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Misunderstood what you needed then. + +Note that the services that are completely blocked from anyone who +doesn't have the right cert are virtually non-existent, it doesn't make +sense to add a feature for it. + +You can do that kind of thing by having custom code creating the +protocol process by the way. There's no need to patch Cowboy for that. + +On 06/05/2014 11:01 PM, Daniel Goertzen wrote: +><i> But then I would have to check the client cert for each and every +</I>><i> request. I should have to check the cert only once at connect time and +</I>><i> then be able to pass the result of that check in the request to each +</I>><i> handler. +</I>><i> +</I>><i> Anyway I've gone ahead and implemented what I need in a generic manner +</I>><i> and it seems to work well. I think it would be a useful addition to +</I>><i> Cowboy. If you agree I could write some more documentation for it. +</I>><i> +</I>><i> <A HREF="https://github.com/goertzenator/cowboy/tree/onconnect">https://github.com/goertzenator/cowboy/tree/onconnect</A> +</I>><i> +</I>><i> I added a "onconnect" hook and "connection metadata" to cowboy_req. The +</I>><i> connection metadata works like existing metadata, but is preserved from +</I>><i> request to request on the same connection. The onconnect hook provides +</I>><i> initial values for the connection metadata. +</I>><i> +</I>><i> Dan. +</I>><i> +</I>><i> +</I>><i> +</I>><i> +</I>><i> On Thu, Jun 5, 2014 at 3:04 AM, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A> +</I>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>>> wrote: +</I>><i> +</I>><i> On 06/05/2014 01:44 AM, Daniel Goertzen wrote: +</I>><i> +</I>><i> +</I>><i> +</I>><i> +</I>><i> On Wed, Jun 4, 2014 at 4:48 PM, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A> +</I>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> +</I>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>>>> wrote: +</I>><i> +</I>><i> On 06/04/2014 10:08 PM, Daniel Goertzen wrote: +</I>><i> +</I>><i> I am having very good luck with Cowboy so far, but I +</I>><i> have some +</I>><i> questions: +</I>><i> +</I>><i> 1. There doesn't appear to be any way to do client +</I>><i> certificate +</I>><i> authorization in Cowboy, although I see there is an +</I>><i> example for +</I>><i> doing +</I>><i> exactly that with Ranch. I think I could modify Cowboy +</I>><i> to do what I +</I>><i> want, but I thought I would ask if there were other options +</I>><i> before doing +</I>><i> that. +</I>><i> +</I>><i> +</I>><i> Same as Ranch really, you just gotta take the socket and +</I>><i> then call +</I>><i> the ssl functions. +</I>><i> +</I>><i> +</I>><i> Yes, but in cowboy there's no API to get at the socket. +</I>><i> +</I>><i> +</I>><i> There is the undocumented function cowboy_req:get/1 which is meant +</I>><i> for that kind of "special" use. +</I>><i> +</I>><i> +</I>><i> -- +</I>><i> Loïc Hoguin +</I>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>><i> +</I>><i> +</I> +-- +Loïc Hoguin +<A HREF="http://ninenines.eu">http://ninenines.eu</A> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000397.html">[99s-extend] cowboy client cert auth, basic auth +</A></li> + <LI>Next message: <A HREF="000399.html">[99s-extend] cowboy client cert auth, basic auth +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#398">[ date ]</a> + <a href="thread.html#398">[ thread ]</a> + <a href="subject.html#398">[ subject ]</a> + <a href="author.html#398">[ 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/_build/static/archives/extend/2014-June/000399.html b/_build/static/archives/extend/2014-June/000399.html new file mode 100644 index 00000000..a1d49efd --- /dev/null +++ b/_build/static/archives/extend/2014-June/000399.html @@ -0,0 +1,168 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] cowboy client cert auth, basic auth + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy%20client%20cert%20auth%2C%20basic%20auth&In-Reply-To=%3CCAJCf5Rz4HUayBM4vjoq%3DukxYWL2xvKjm%2Bj_KAE8uL_bTQkVD%2Bw%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="Previous" HREF="000398.html"> + <LINK REL="Next" HREF="000400.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] cowboy client cert auth, basic auth</H1> + <B>Daniel Goertzen</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy%20client%20cert%20auth%2C%20basic%20auth&In-Reply-To=%3CCAJCf5Rz4HUayBM4vjoq%3DukxYWL2xvKjm%2Bj_KAE8uL_bTQkVD%2Bw%40mail.gmail.com%3E" + TITLE="[99s-extend] cowboy client cert auth, basic auth">daniel.goertzen at gmail.com + </A><BR> + <I>Fri Jun 6 15:59:43 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000398.html">[99s-extend] cowboy client cert auth, basic auth +</A></li> + <LI>Next message: <A HREF="000400.html">[99s-extend] cowboy client cert auth, basic auth +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#399">[ date ]</a> + <a href="thread.html#399">[ thread ]</a> + <a href="subject.html#399">[ subject ]</a> + <a href="author.html#399">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Okay, I see how I can wrap cowboy_protocol:init() to perhaps add cert +information to env or stuff it in an ets table / gproc / process +dictionary. Is this what you mean? I think that will work for me. + +My immediate application is to provide a secure RESTful API for a network +appliance. Think securing the Web of Things. I really do want to get in +the client's face if they don't have the right certificate. + +I'm late in saying this, but thank you for making Cowboy so easy to read +and understand. + +Cheers, +Dan. + + + +On Thu, Jun 5, 2014 at 4:24 PM, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> wrote: + +><i> Misunderstood what you needed then. +</I>><i> +</I>><i> Note that the services that are completely blocked from anyone who doesn't +</I>><i> have the right cert are virtually non-existent, it doesn't make sense to +</I>><i> add a feature for it. +</I>><i> +</I>><i> You can do that kind of thing by having custom code creating the protocol +</I>><i> process by the way. There's no need to patch Cowboy for that. +</I>><i> +</I>><i> +</I>><i> On 06/05/2014 11:01 PM, Daniel Goertzen wrote: +</I>><i> +</I>>><i> But then I would have to check the client cert for each and every +</I>>><i> request. I should have to check the cert only once at connect time and +</I>>><i> then be able to pass the result of that check in the request to each +</I>>><i> handler. +</I>>><i> +</I>>><i> Anyway I've gone ahead and implemented what I need in a generic manner +</I>>><i> and it seems to work well. I think it would be a useful addition to +</I>>><i> Cowboy. If you agree I could write some more documentation for it. +</I>>><i> +</I>>><i> <A HREF="https://github.com/goertzenator/cowboy/tree/onconnect">https://github.com/goertzenator/cowboy/tree/onconnect</A> +</I>>><i> +</I>>><i> I added a "onconnect" hook and "connection metadata" to cowboy_req. The +</I>>><i> connection metadata works like existing metadata, but is preserved from +</I>>><i> request to request on the same connection. The onconnect hook provides +</I>>><i> initial values for the connection metadata. +</I>>><i> +</I>>><i> Dan. +</I>>><i> +</I>>><i> +</I>>><i> +</I>>><i> +</I>>><i> On Thu, Jun 5, 2014 at 3:04 AM, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A> +</I>>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>>> wrote: +</I>>><i> +</I>>><i> On 06/05/2014 01:44 AM, Daniel Goertzen wrote: +</I>>><i> +</I>>><i> +</I>>><i> +</I>>><i> +</I>>><i> On Wed, Jun 4, 2014 at 4:48 PM, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A> +</I>>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> +</I>>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>>>> wrote: +</I>>><i> +</I>>><i> On 06/04/2014 10:08 PM, Daniel Goertzen wrote: +</I>>><i> +</I>>><i> I am having very good luck with Cowboy so far, but I +</I>>><i> have some +</I>>><i> questions: +</I>>><i> +</I>>><i> 1. There doesn't appear to be any way to do client +</I>>><i> certificate +</I>>><i> authorization in Cowboy, although I see there is an +</I>>><i> example for +</I>>><i> doing +</I>>><i> exactly that with Ranch. I think I could modify Cowboy +</I>>><i> to do what I +</I>>><i> want, but I thought I would ask if there were other +</I>>><i> options +</I>>><i> before doing +</I>>><i> that. +</I>>><i> +</I>>><i> +</I>>><i> Same as Ranch really, you just gotta take the socket and +</I>>><i> then call +</I>>><i> the ssl functions. +</I>>><i> +</I>>><i> +</I>>><i> Yes, but in cowboy there's no API to get at the socket. +</I>>><i> +</I>>><i> +</I>>><i> There is the undocumented function cowboy_req:get/1 which is meant +</I>>><i> for that kind of "special" use. +</I>>><i> +</I>>><i> +</I>>><i> -- +</I>>><i> Loïc Hoguin +</I>>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>>><i> +</I>>><i> +</I>>><i> +</I>><i> -- +</I>><i> Loïc Hoguin +</I>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>><i> +</I>-------------- next part -------------- +An HTML attachment was scrubbed... +URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20140606/b992565e/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20140606/b992565e/attachment.html</A>> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000398.html">[99s-extend] cowboy client cert auth, basic auth +</A></li> + <LI>Next message: <A HREF="000400.html">[99s-extend] cowboy client cert auth, basic auth +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#399">[ date ]</a> + <a href="thread.html#399">[ thread ]</a> + <a href="subject.html#399">[ subject ]</a> + <a href="author.html#399">[ 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/_build/static/archives/extend/2014-June/000400.html b/_build/static/archives/extend/2014-June/000400.html new file mode 100644 index 00000000..22d8dde0 --- /dev/null +++ b/_build/static/archives/extend/2014-June/000400.html @@ -0,0 +1,189 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] cowboy client cert auth, basic auth + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy%20client%20cert%20auth%2C%20basic%20auth&In-Reply-To=%3C5391CBB4.7060606%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="000399.html"> + <LINK REL="Next" HREF="000391.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] cowboy client cert auth, basic auth</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy%20client%20cert%20auth%2C%20basic%20auth&In-Reply-To=%3C5391CBB4.7060606%40ninenines.eu%3E" + TITLE="[99s-extend] cowboy client cert auth, basic auth">essen at ninenines.eu + </A><BR> + <I>Fri Jun 6 16:09:56 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000399.html">[99s-extend] cowboy client cert auth, basic auth +</A></li> + <LI>Next message: <A HREF="000391.html">[99s-extend] Mandatory init/3 and optional handle/2 and terminate/3 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#400">[ date ]</a> + <a href="thread.html#400">[ thread ]</a> + <a href="subject.html#400">[ subject ]</a> + <a href="author.html#400">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On 06/06/2014 03:59 PM, Daniel Goertzen wrote: +><i> Okay, I see how I can wrap cowboy_protocol:init() to perhaps add cert +</I>><i> information to env or stuff it in an ets table / gproc / process +</I>><i> dictionary. Is this what you mean? I think that will work for me. +</I> +Something like that, yes. Process dictionary is probably the quick and +dirty way, env would be cleaner but take more code as you then have to +move it from env to handler opts. + +><i> My immediate application is to provide a secure RESTful API for a +</I>><i> network appliance. Think securing the Web of Things. I really do want +</I>><i> to get in the client's face if they don't have the right certificate. +</I>><i> +</I>><i> I'm late in saying this, but thank you for making Cowboy so easy to read +</I>><i> and understand. +</I>><i> +</I>><i> Cheers, +</I>><i> Dan. +</I>><i> +</I>><i> +</I>><i> +</I>><i> On Thu, Jun 5, 2014 at 4:24 PM, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A> +</I>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>>> wrote: +</I>><i> +</I>><i> Misunderstood what you needed then. +</I>><i> +</I>><i> Note that the services that are completely blocked from anyone who +</I>><i> doesn't have the right cert are virtually non-existent, it doesn't +</I>><i> make sense to add a feature for it. +</I>><i> +</I>><i> You can do that kind of thing by having custom code creating the +</I>><i> protocol process by the way. There's no need to patch Cowboy for that. +</I>><i> +</I>><i> +</I>><i> On 06/05/2014 11:01 PM, Daniel Goertzen wrote: +</I>><i> +</I>><i> But then I would have to check the client cert for each and every +</I>><i> request. I should have to check the cert only once at connect +</I>><i> time and +</I>><i> then be able to pass the result of that check in the request to each +</I>><i> handler. +</I>><i> +</I>><i> Anyway I've gone ahead and implemented what I need in a generic +</I>><i> manner +</I>><i> and it seems to work well. I think it would be a useful addition to +</I>><i> Cowboy. If you agree I could write some more documentation for it. +</I>><i> +</I>><i> <A HREF="https://github.com/__goertzenator/cowboy/tree/__onconnect">https://github.com/__goertzenator/cowboy/tree/__onconnect</A> +</I>><i> <<A HREF="https://github.com/goertzenator/cowboy/tree/onconnect">https://github.com/goertzenator/cowboy/tree/onconnect</A>> +</I>><i> +</I>><i> I added a "onconnect" hook and "connection metadata" to +</I>><i> cowboy_req. The +</I>><i> connection metadata works like existing metadata, but is +</I>><i> preserved from +</I>><i> request to request on the same connection. The onconnect hook +</I>><i> provides +</I>><i> initial values for the connection metadata. +</I>><i> +</I>><i> Dan. +</I>><i> +</I>><i> +</I>><i> +</I>><i> +</I>><i> On Thu, Jun 5, 2014 at 3:04 AM, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A> +</I>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> +</I>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>>>> wrote: +</I>><i> +</I>><i> On 06/05/2014 01:44 AM, Daniel Goertzen wrote: +</I>><i> +</I>><i> +</I>><i> +</I>><i> +</I>><i> On Wed, Jun 4, 2014 at 4:48 PM, Loïc Hoguin +</I>><i> <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> +</I>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>>> +</I>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> +</I>><i> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A> <mailto:<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>>>>> wrote: +</I>><i> +</I>><i> On 06/04/2014 10:08 PM, Daniel Goertzen wrote: +</I>><i> +</I>><i> I am having very good luck with Cowboy so far, +</I>><i> but I +</I>><i> have some +</I>><i> questions: +</I>><i> +</I>><i> 1. There doesn't appear to be any way to do client +</I>><i> certificate +</I>><i> authorization in Cowboy, although I see there +</I>><i> is an +</I>><i> example for +</I>><i> doing +</I>><i> exactly that with Ranch. I think I could +</I>><i> modify Cowboy +</I>><i> to do what I +</I>><i> want, but I thought I would ask if there were +</I>><i> other options +</I>><i> before doing +</I>><i> that. +</I>><i> +</I>><i> +</I>><i> Same as Ranch really, you just gotta take the +</I>><i> socket and +</I>><i> then call +</I>><i> the ssl functions. +</I>><i> +</I>><i> +</I>><i> Yes, but in cowboy there's no API to get at the socket. +</I>><i> +</I>><i> +</I>><i> There is the undocumented function cowboy_req:get/1 which +</I>><i> is meant +</I>><i> for that kind of "special" use. +</I>><i> +</I>><i> +</I>><i> -- +</I>><i> Loïc Hoguin +</I>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>><i> +</I>><i> +</I>><i> +</I>><i> -- +</I>><i> Loïc Hoguin +</I>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I>><i> +</I>><i> +</I> +-- +Loïc Hoguin +<A HREF="http://ninenines.eu">http://ninenines.eu</A> +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000399.html">[99s-extend] cowboy client cert auth, basic auth +</A></li> + <LI>Next message: <A HREF="000391.html">[99s-extend] Mandatory init/3 and optional handle/2 and terminate/3 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#400">[ date ]</a> + <a href="thread.html#400">[ thread ]</a> + <a href="subject.html#400">[ subject ]</a> + <a href="author.html#400">[ 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/_build/static/archives/extend/2014-June/000401.html b/_build/static/archives/extend/2014-June/000401.html new file mode 100644 index 00000000..352f86c2 --- /dev/null +++ b/_build/static/archives/extend/2014-June/000401.html @@ -0,0 +1,101 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] [ANN] Cowboy and Ranch 0.10 + </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%20and%20Ranch%200.10&In-Reply-To=%3C5396E012.4070900%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="000395.html"> + <LINK REL="Next" HREF="000402.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] [ANN] Cowboy and Ranch 0.10</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20%5BANN%5D%20Cowboy%20and%20Ranch%200.10&In-Reply-To=%3C5396E012.4070900%40ninenines.eu%3E" + TITLE="[99s-extend] [ANN] Cowboy and Ranch 0.10">essen at ninenines.eu + </A><BR> + <I>Tue Jun 10 12:38:10 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000395.html">[99s-extend] Mandatory init/3 and optional handle/2 and terminate/3 +</A></li> + <LI>Next message: <A HREF="000402.html">[99s-extend] Stop ranch listeners without dropping connections +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#401">[ date ]</a> + <a href="thread.html#401">[ thread ]</a> + <a href="subject.html#401">[ subject ]</a> + <a href="author.html#401">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Hello! + +I just pushed Cowboy 0.10 and Ranch 0.10. + + <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> + +The Cowboy changelog can be found here: +<A HREF="https://github.com/extend/cowboy/blob/master/CHANGELOG.md">https://github.com/extend/cowboy/blob/master/CHANGELOG.md</A> + +This release sees the addition of functions for reading multipart! (And +there are also functions for creating multipart bodies in the cowlib +library if you need them.) The old multipart interface got removed. + +The other big change is a rework of the body reading interface, again. +Users have reported having timeout issues sometimes so the new interface +allows you to configure read length/timeout so you can control the rate +of transfer *per body function call*. + +The functions init_stream, stream_body and skip_body have been +deprecated and will be removed in 1.0 (alongside one clause of the +body/2 and body_qs/2 functions). + +Current code *should* be compatible but you are really encouraged to +test and remove dead code introduced by this change. + +The changes in Ranch are mostly small so I won't bore you with the details. + +The next step will be to release 1.0 sometimes this summer. Work on 2.0 +will start immediately after that but 2.0 is planned to be released +after Erlang 18.0 is out. We'll have a new version bump for every Erlang +version basically. More details later. + +Hope you enjoy this release, and that I didn't break your code (too much)! + +Enjoy. + +-- +Loïc Hoguin +<A HREF="http://ninenines.eu">http://ninenines.eu</A> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000395.html">[99s-extend] Mandatory init/3 and optional handle/2 and terminate/3 +</A></li> + <LI>Next message: <A HREF="000402.html">[99s-extend] Stop ranch listeners without dropping connections +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#401">[ date ]</a> + <a href="thread.html#401">[ thread ]</a> + <a href="subject.html#401">[ subject ]</a> + <a href="author.html#401">[ 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/_build/static/archives/extend/2014-June/000402.html b/_build/static/archives/extend/2014-June/000402.html new file mode 100644 index 00000000..e0dbcd16 --- /dev/null +++ b/_build/static/archives/extend/2014-June/000402.html @@ -0,0 +1,77 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Stop ranch listeners without dropping connections + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Stop%20ranch%20listeners%20without%20dropping%20connections&In-Reply-To=%3CCAJgnQd-Rc7HpqeFe4xYBShvxjN27n0-VJLf6%2BP7yr4gTnJ%3DB1Q%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="Previous" HREF="000401.html"> + <LINK REL="Next" HREF="000403.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Stop ranch listeners without dropping connections</H1> + <B>Roger Lipscombe</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Stop%20ranch%20listeners%20without%20dropping%20connections&In-Reply-To=%3CCAJgnQd-Rc7HpqeFe4xYBShvxjN27n0-VJLf6%2BP7yr4gTnJ%3DB1Q%40mail.gmail.com%3E" + TITLE="[99s-extend] Stop ranch listeners without dropping connections">roger at differentpla.net + </A><BR> + <I>Wed Jun 11 14:38:59 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000401.html">[99s-extend] [ANN] Cowboy and Ranch 0.10 +</A></li> + <LI>Next message: <A HREF="000403.html">[99s-extend] Stop ranch listeners without dropping connections +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#402">[ date ]</a> + <a href="thread.html#402">[ thread ]</a> + <a href="subject.html#402">[ subject ]</a> + <a href="author.html#402">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Using ranch, is there any way to stop the listener (and acceptors) +without dropping the existing connections? + +I ask because I'd like to start another instance of my server on the +same box and have the old instance continue to handle its existing +connections for a while. + +It looks to me that if I call ranch:stop_listener, it'll kill the +ranch_listener_sup, which will also kill the ranch_conns_sup (and the +existing connections). + +If I manually do a supervisor:terminate_child(ListenerPid, +ranch_acceptors_sup), the acceptors go away, but the socket is still +open, which means that I can't start another instance of my server. + +Thoughts? +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000401.html">[99s-extend] [ANN] Cowboy and Ranch 0.10 +</A></li> + <LI>Next message: <A HREF="000403.html">[99s-extend] Stop ranch listeners without dropping connections +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#402">[ date ]</a> + <a href="thread.html#402">[ thread ]</a> + <a href="subject.html#402">[ subject ]</a> + <a href="author.html#402">[ 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/_build/static/archives/extend/2014-June/000403.html b/_build/static/archives/extend/2014-June/000403.html new file mode 100644 index 00000000..9ce8747a --- /dev/null +++ b/_build/static/archives/extend/2014-June/000403.html @@ -0,0 +1,89 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Stop ranch listeners without dropping connections + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Stop%20ranch%20listeners%20without%20dropping%20connections&In-Reply-To=%3C53A81152.9020404%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="000402.html"> + <LINK REL="Next" HREF="000404.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Stop ranch listeners without dropping connections</H1> + <B>Loïc Hoguin</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Stop%20ranch%20listeners%20without%20dropping%20connections&In-Reply-To=%3C53A81152.9020404%40ninenines.eu%3E" + TITLE="[99s-extend] Stop ranch listeners without dropping connections">essen at ninenines.eu + </A><BR> + <I>Mon Jun 23 13:36:50 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000402.html">[99s-extend] Stop ranch listeners without dropping connections +</A></li> + <LI>Next message: <A HREF="000404.html">[99s-extend] Stop ranch listeners without dropping connections +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#403">[ date ]</a> + <a href="thread.html#403">[ thread ]</a> + <a href="subject.html#403">[ subject ]</a> + <a href="author.html#403">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>It is not possible at this point. Please open a ticket. + +On 06/11/2014 02:38 PM, Roger Lipscombe wrote: +><i> Using ranch, is there any way to stop the listener (and acceptors) +</I>><i> without dropping the existing connections? +</I>><i> +</I>><i> I ask because I'd like to start another instance of my server on the +</I>><i> same box and have the old instance continue to handle its existing +</I>><i> connections for a while. +</I>><i> +</I>><i> It looks to me that if I call ranch:stop_listener, it'll kill the +</I>><i> ranch_listener_sup, which will also kill the ranch_conns_sup (and the +</I>><i> existing connections). +</I>><i> +</I>><i> If I manually do a supervisor:terminate_child(ListenerPid, +</I>><i> ranch_acceptors_sup), the acceptors go away, but the socket is still +</I>><i> open, which means that I can't start another instance of my server. +</I>><i> +</I>><i> Thoughts? +</I>><i> _______________________________________________ +</I>><i> Extend mailing list +</I>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +</I>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I>><i> +</I> +-- +Loïc Hoguin +<A HREF="http://ninenines.eu">http://ninenines.eu</A> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000402.html">[99s-extend] Stop ranch listeners without dropping connections +</A></li> + <LI>Next message: <A HREF="000404.html">[99s-extend] Stop ranch listeners without dropping connections +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#403">[ date ]</a> + <a href="thread.html#403">[ thread ]</a> + <a href="subject.html#403">[ subject ]</a> + <a href="author.html#403">[ 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/_build/static/archives/extend/2014-June/000404.html b/_build/static/archives/extend/2014-June/000404.html new file mode 100644 index 00000000..c07fc989 --- /dev/null +++ b/_build/static/archives/extend/2014-June/000404.html @@ -0,0 +1,91 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <TITLE> [99s-extend] Stop ranch listeners without dropping connections + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Stop%20ranch%20listeners%20without%20dropping%20connections&In-Reply-To=%3CCAJgnQd8XTjZeLAW4iP4s67B1pWyCf8yom_UfWeoApreVmmv%2BtA%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="Previous" HREF="000403.html"> + + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[99s-extend] Stop ranch listeners without dropping connections</H1> + <B>Roger Lipscombe</B> + <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Stop%20ranch%20listeners%20without%20dropping%20connections&In-Reply-To=%3CCAJgnQd8XTjZeLAW4iP4s67B1pWyCf8yom_UfWeoApreVmmv%2BtA%40mail.gmail.com%3E" + TITLE="[99s-extend] Stop ranch listeners without dropping connections">roger at differentpla.net + </A><BR> + <I>Mon Jun 23 15:55:47 CEST 2014</I> + <P><UL> + <LI>Previous message: <A HREF="000403.html">[99s-extend] Stop ranch listeners without dropping connections +</A></li> + + <LI> <B>Messages sorted by:</B> + <a href="date.html#404">[ date ]</a> + <a href="thread.html#404">[ thread ]</a> + <a href="subject.html#404">[ subject ]</a> + <a href="author.html#404">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Done: <A HREF="https://github.com/extend/ranch/issues/83">https://github.com/extend/ranch/issues/83</A> + +On 23 June 2014 12:36, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> wrote: +><i> It is not possible at this point. Please open a ticket. +</I>><i> +</I>><i> +</I>><i> On 06/11/2014 02:38 PM, Roger Lipscombe wrote: +</I>>><i> +</I>>><i> Using ranch, is there any way to stop the listener (and acceptors) +</I>>><i> without dropping the existing connections? +</I>>><i> +</I>>><i> I ask because I'd like to start another instance of my server on the +</I>>><i> same box and have the old instance continue to handle its existing +</I>>><i> connections for a while. +</I>>><i> +</I>>><i> It looks to me that if I call ranch:stop_listener, it'll kill the +</I>>><i> ranch_listener_sup, which will also kill the ranch_conns_sup (and the +</I>>><i> existing connections). +</I>>><i> +</I>>><i> If I manually do a supervisor:terminate_child(ListenerPid, +</I>>><i> ranch_acceptors_sup), the acceptors go away, but the socket is still +</I>>><i> open, which means that I can't start another instance of my server. +</I>>><i> +</I>>><i> Thoughts? +</I>>><i> _______________________________________________ +</I>>><i> Extend mailing list +</I>>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A> +</I>>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A> +</I>>><i> +</I>><i> +</I>><i> -- +</I>><i> Loïc Hoguin +</I>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A> +</I></PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000403.html">[99s-extend] Stop ranch listeners without dropping connections +</A></li> + + <LI> <B>Messages sorted by:</B> + <a href="date.html#404">[ date ]</a> + <a href="thread.html#404">[ thread ]</a> + <a href="subject.html#404">[ subject ]</a> + <a href="author.html#404">[ 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/_build/static/archives/extend/2014-June/author.html b/_build/static/archives/extend/2014-June/author.html new file mode 100644 index 00000000..bb06272f --- /dev/null +++ b/_build/static/archives/extend/2014-June/author.html @@ -0,0 +1,122 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <title>The Extend June 2014 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 2014 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 4 22:08:54 CEST 2014</i><br> + <b>Ending:</b> <i>Mon Jun 23 15:55:47 CEST 2014</i><br> + <b>Messages:</b> 15<p> + <ul> + +<LI><A HREF="000390.html">[99s-extend] cowboy client cert auth, basic auth +</A><A NAME="390"> </A> +<I>Daniel Goertzen +</I> + +<LI><A HREF="000394.html">[99s-extend] cowboy client cert auth, basic auth +</A><A NAME="394"> </A> +<I>Daniel Goertzen +</I> + +<LI><A HREF="000397.html">[99s-extend] cowboy client cert auth, basic auth +</A><A NAME="397"> </A> +<I>Daniel Goertzen +</I> + +<LI><A HREF="000399.html">[99s-extend] cowboy client cert auth, basic auth +</A><A NAME="399"> </A> +<I>Daniel Goertzen +</I> + +<LI><A HREF="000392.html">[99s-extend] Mandatory init/3 and optional handle/2 and terminate/3 +</A><A NAME="392"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000393.html">[99s-extend] cowboy client cert auth, basic auth +</A><A NAME="393"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000396.html">[99s-extend] cowboy client cert auth, basic auth +</A><A NAME="396"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000398.html">[99s-extend] cowboy client cert auth, basic auth +</A><A NAME="398"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000400.html">[99s-extend] cowboy client cert auth, basic auth +</A><A NAME="400"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000401.html">[99s-extend] [ANN] Cowboy and Ranch 0.10 +</A><A NAME="401"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000403.html">[99s-extend] Stop ranch listeners without dropping connections +</A><A NAME="403"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000402.html">[99s-extend] Stop ranch listeners without dropping connections +</A><A NAME="402"> </A> +<I>Roger Lipscombe +</I> + +<LI><A HREF="000404.html">[99s-extend] Stop ranch listeners without dropping connections +</A><A NAME="404"> </A> +<I>Roger Lipscombe +</I> + +<LI><A HREF="000391.html">[99s-extend] Mandatory init/3 and optional handle/2 and terminate/3 +</A><A NAME="391"> </A> +<I>Paulo F. Oliveira +</I> + +<LI><A HREF="000395.html">[99s-extend] Mandatory init/3 and optional handle/2 and terminate/3 +</A><A NAME="395"> </A> +<I>Paulo F. Oliveira +</I> + + </ul> + <p> + <a name="end"><b>Last message date:</b></a> + <i>Mon Jun 23 15:55:47 CEST 2014</i><br> + <b>Archived on:</b> <i>Mon Jun 23 15:55:49 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/_build/static/archives/extend/2014-June/date.html b/_build/static/archives/extend/2014-June/date.html new file mode 100644 index 00000000..6af7d531 --- /dev/null +++ b/_build/static/archives/extend/2014-June/date.html @@ -0,0 +1,122 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <title>The Extend June 2014 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 2014 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 4 22:08:54 CEST 2014</i><br> + <b>Ending:</b> <i>Mon Jun 23 15:55:47 CEST 2014</i><br> + <b>Messages:</b> 15<p> + <ul> + +<LI><A HREF="000390.html">[99s-extend] cowboy client cert auth, basic auth +</A><A NAME="390"> </A> +<I>Daniel Goertzen +</I> + +<LI><A HREF="000391.html">[99s-extend] Mandatory init/3 and optional handle/2 and terminate/3 +</A><A NAME="391"> </A> +<I>Paulo F. Oliveira +</I> + +<LI><A HREF="000392.html">[99s-extend] Mandatory init/3 and optional handle/2 and terminate/3 +</A><A NAME="392"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000393.html">[99s-extend] cowboy client cert auth, basic auth +</A><A NAME="393"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000394.html">[99s-extend] cowboy client cert auth, basic auth +</A><A NAME="394"> </A> +<I>Daniel Goertzen +</I> + +<LI><A HREF="000395.html">[99s-extend] Mandatory init/3 and optional handle/2 and terminate/3 +</A><A NAME="395"> </A> +<I>Paulo F. Oliveira +</I> + +<LI><A HREF="000396.html">[99s-extend] cowboy client cert auth, basic auth +</A><A NAME="396"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000397.html">[99s-extend] cowboy client cert auth, basic auth +</A><A NAME="397"> </A> +<I>Daniel Goertzen +</I> + +<LI><A HREF="000398.html">[99s-extend] cowboy client cert auth, basic auth +</A><A NAME="398"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000399.html">[99s-extend] cowboy client cert auth, basic auth +</A><A NAME="399"> </A> +<I>Daniel Goertzen +</I> + +<LI><A HREF="000400.html">[99s-extend] cowboy client cert auth, basic auth +</A><A NAME="400"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000401.html">[99s-extend] [ANN] Cowboy and Ranch 0.10 +</A><A NAME="401"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000402.html">[99s-extend] Stop ranch listeners without dropping connections +</A><A NAME="402"> </A> +<I>Roger Lipscombe +</I> + +<LI><A HREF="000403.html">[99s-extend] Stop ranch listeners without dropping connections +</A><A NAME="403"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000404.html">[99s-extend] Stop ranch listeners without dropping connections +</A><A NAME="404"> </A> +<I>Roger Lipscombe +</I> + + </ul> + <p> + <a name="end"><b>Last message date:</b></a> + <i>Mon Jun 23 15:55:47 CEST 2014</i><br> + <b>Archived on:</b> <i>Mon Jun 23 15:55:49 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/_build/static/archives/extend/2014-June/index.html b/_build/static/archives/extend/2014-June/index.html new file mode 120000 index 00000000..db4b46f7 --- /dev/null +++ b/_build/static/archives/extend/2014-June/index.html @@ -0,0 +1 @@ +thread.html
\ No newline at end of file diff --git a/_build/static/archives/extend/2014-June/subject.html b/_build/static/archives/extend/2014-June/subject.html new file mode 100644 index 00000000..c6fa9670 --- /dev/null +++ b/_build/static/archives/extend/2014-June/subject.html @@ -0,0 +1,122 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <title>The Extend June 2014 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 2014 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 4 22:08:54 CEST 2014</i><br> + <b>Ending:</b> <i>Mon Jun 23 15:55:47 CEST 2014</i><br> + <b>Messages:</b> 15<p> + <ul> + +<LI><A HREF="000401.html">[99s-extend] [ANN] Cowboy and Ranch 0.10 +</A><A NAME="401"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000390.html">[99s-extend] cowboy client cert auth, basic auth +</A><A NAME="390"> </A> +<I>Daniel Goertzen +</I> + +<LI><A HREF="000393.html">[99s-extend] cowboy client cert auth, basic auth +</A><A NAME="393"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000394.html">[99s-extend] cowboy client cert auth, basic auth +</A><A NAME="394"> </A> +<I>Daniel Goertzen +</I> + +<LI><A HREF="000396.html">[99s-extend] cowboy client cert auth, basic auth +</A><A NAME="396"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000397.html">[99s-extend] cowboy client cert auth, basic auth +</A><A NAME="397"> </A> +<I>Daniel Goertzen +</I> + +<LI><A HREF="000398.html">[99s-extend] cowboy client cert auth, basic auth +</A><A NAME="398"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000399.html">[99s-extend] cowboy client cert auth, basic auth +</A><A NAME="399"> </A> +<I>Daniel Goertzen +</I> + +<LI><A HREF="000400.html">[99s-extend] cowboy client cert auth, basic auth +</A><A NAME="400"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000391.html">[99s-extend] Mandatory init/3 and optional handle/2 and terminate/3 +</A><A NAME="391"> </A> +<I>Paulo F. Oliveira +</I> + +<LI><A HREF="000392.html">[99s-extend] Mandatory init/3 and optional handle/2 and terminate/3 +</A><A NAME="392"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000395.html">[99s-extend] Mandatory init/3 and optional handle/2 and terminate/3 +</A><A NAME="395"> </A> +<I>Paulo F. Oliveira +</I> + +<LI><A HREF="000402.html">[99s-extend] Stop ranch listeners without dropping connections +</A><A NAME="402"> </A> +<I>Roger Lipscombe +</I> + +<LI><A HREF="000403.html">[99s-extend] Stop ranch listeners without dropping connections +</A><A NAME="403"> </A> +<I>Loïc Hoguin +</I> + +<LI><A HREF="000404.html">[99s-extend] Stop ranch listeners without dropping connections +</A><A NAME="404"> </A> +<I>Roger Lipscombe +</I> + + </ul> + <p> + <a name="end"><b>Last message date:</b></a> + <i>Mon Jun 23 15:55:47 CEST 2014</i><br> + <b>Archived on:</b> <i>Mon Jun 23 15:55:49 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/_build/static/archives/extend/2014-June/thread.html b/_build/static/archives/extend/2014-June/thread.html new file mode 100644 index 00000000..a4e02007 --- /dev/null +++ b/_build/static/archives/extend/2014-June/thread.html @@ -0,0 +1,151 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<HTML> + <HEAD> + <title>The Extend June 2014 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 2014 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 4 22:08:54 CEST 2014</i><br> + <b>Ending:</b> <i>Mon Jun 23 15:55:47 CEST 2014</i><br> + <b>Messages:</b> 15<p> + <ul> + +<!--0 01401912534.390- --> +<LI><A HREF="000390.html">[99s-extend] cowboy client cert auth, basic auth +</A><A NAME="390"> </A> +<I>Daniel Goertzen +</I> + +<UL> +<!--1 01401912534.390-01401918481.393- --> +<LI><A HREF="000393.html">[99s-extend] cowboy client cert auth, basic auth +</A><A NAME="393"> </A> +<I>Loïc Hoguin +</I> + +<UL> +<!--2 01401912534.390-01401918481.393-01401925442.394- --> +<LI><A HREF="000394.html">[99s-extend] cowboy client cert auth, basic auth +</A><A NAME="394"> </A> +<I>Daniel Goertzen +</I> + +<UL> +<!--3 01401912534.390-01401918481.393-01401925442.394-01401955448.396- --> +<LI><A HREF="000396.html">[99s-extend] cowboy client cert auth, basic auth +</A><A NAME="396"> </A> +<I>Loïc Hoguin +</I> + +<!--3 01401912534.390-01401918481.393-01401925442.394-01401955448.396-01402002072.397- --> +<LI><A HREF="000397.html">[99s-extend] cowboy client cert auth, basic auth +</A><A NAME="397"> </A> +<I>Daniel Goertzen +</I> + +<!--3 01401912534.390-01401918481.393-01401925442.394-01401955448.396-01402002072.397-01402003490.398- --> +<LI><A HREF="000398.html">[99s-extend] cowboy client cert auth, basic auth +</A><A NAME="398"> </A> +<I>Loïc Hoguin +</I> + +<!--3 01401912534.390-01401918481.393-01401925442.394-01401955448.396-01402002072.397-01402003490.398-01402063183.399- --> +<LI><A HREF="000399.html">[99s-extend] cowboy client cert auth, basic auth +</A><A NAME="399"> </A> +<I>Daniel Goertzen +</I> + +<!--3 01401912534.390-01401918481.393-01401925442.394-01401955448.396-01402002072.397-01402003490.398-01402063183.399-01402063796.400- --> +<LI><A HREF="000400.html">[99s-extend] cowboy client cert auth, basic auth +</A><A NAME="400"> </A> +<I>Loïc Hoguin +</I> + +</UL> +</UL> +</UL> +<!--0 01401917834.391- --> +<LI><A HREF="000391.html">[99s-extend] Mandatory init/3 and optional handle/2 and terminate/3 +</A><A NAME="391"> </A> +<I>Paulo F. Oliveira +</I> + +<UL> +<!--1 01401917834.391-01401918398.392- --> +<LI><A HREF="000392.html">[99s-extend] Mandatory init/3 and optional handle/2 and terminate/3 +</A><A NAME="392"> </A> +<I>Loïc Hoguin +</I> + +<UL> +<!--2 01401917834.391-01401918398.392-01401925741.395- --> +<LI><A HREF="000395.html">[99s-extend] Mandatory init/3 and optional handle/2 and terminate/3 +</A><A NAME="395"> </A> +<I>Paulo F. Oliveira +</I> + +</UL> +</UL> +<!--0 01402396690.401- --> +<LI><A HREF="000401.html">[99s-extend] [ANN] Cowboy and Ranch 0.10 +</A><A NAME="401"> </A> +<I>Loïc Hoguin +</I> + +<!--0 01402490339.402- --> +<LI><A HREF="000402.html">[99s-extend] Stop ranch listeners without dropping connections +</A><A NAME="402"> </A> +<I>Roger Lipscombe +</I> + +<UL> +<!--1 01402490339.402-01403523410.403- --> +<LI><A HREF="000403.html">[99s-extend] Stop ranch listeners without dropping connections +</A><A NAME="403"> </A> +<I>Loïc Hoguin +</I> + +<UL> +<!--2 01402490339.402-01403523410.403-01403531747.404- --> +<LI><A HREF="000404.html">[99s-extend] Stop ranch listeners without dropping connections +</A><A NAME="404"> </A> +<I>Roger Lipscombe +</I> + +</UL> +</UL> + </ul> + <p> + <a name="end"><b>Last message date:</b></a> + <i>Mon Jun 23 15:55:47 CEST 2014</i><br> + <b>Archived on:</b> <i>Mon Jun 23 15:55:49 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> + |