summaryrefslogblamecommitdiffstats
path: root/_build/static/archives/extend/2013-October/000269.html
blob: 5c7ddf495af8ee2576d79879cded5b139dc0214b (plain) (tree)


















































































                                                                                                                                                                                                                                   
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
 <HEAD>
   <TITLE> [99s-extend] timeout in cowboy loop handler
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20timeout%20in%20cowboy%20loop%20handler&In-Reply-To=%3CCA%2BeMAwZDCwOi32RY_mwKY7w-O1Q%2BPTGQwp4vY72KJY3C-Q8_Xw%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="000268.html">
   <LINK REL="Next"  HREF="000270.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[99s-extend] timeout in cowboy loop handler</H1>
    <B>akonsu</B> 
    <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20timeout%20in%20cowboy%20loop%20handler&In-Reply-To=%3CCA%2BeMAwZDCwOi32RY_mwKY7w-O1Q%2BPTGQwp4vY72KJY3C-Q8_Xw%40mail.gmail.com%3E"
       TITLE="[99s-extend] timeout in cowboy loop handler">akonsu at gmail.com
       </A><BR>
    <I>Wed Oct 16 04:55:28 CEST 2013</I>
    <P><UL>
        <LI>Previous message: <A HREF="000268.html">[99s-extend] SSL Example
</A></li>
        <LI>Next message: <A HREF="000270.html">[99s-extend] timeout in cowboy loop handler
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#269">[ date ]</a>
              <a href="thread.html#269">[ thread ]</a>
              <a href="subject.html#269">[ subject ]</a>
              <a href="author.html#269">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Hello,

the documentation for `init` at
<A HREF="http://ninenines.eu/docs/en/cowboy/HEAD/manual/cowboy_loop_handler">http://ninenines.eu/docs/en/cowboy/HEAD/manual/cowboy_loop_handler</A> says:

The receive loop will run for a duration of up to Timeout milliseconds
after it last received data from the socket, at which point it will stop
and send a 204 No Content reply.

What socket does it refer to? I had an impression that the loop handles
erlang messages. Do these messages come through a socket (sorry about a
trivial question, but I am new to erlang), and this is the socket that the
docs talk about?

The reason why I am asking is because I used to have a Timeout of 60000,
and even though messages kept coming non stop, it still kept disconnecting
after a minute, until I set Timeout to infinity.

thanks
Konstantin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: &lt;<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20131015/94506752/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20131015/94506752/attachment.html</A>&gt;
</PRE>

<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="000268.html">[99s-extend] SSL Example
</A></li>
	<LI>Next message: <A HREF="000270.html">[99s-extend] timeout in cowboy loop handler
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#269">[ date ]</a>
              <a href="thread.html#269">[ thread ]</a>
              <a href="subject.html#269">[ subject ]</a>
              <a href="author.html#269">[ author ]</a>
         </LI>
       </UL>

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