From c807880f7ac73f813b2660ea81a00f7712a4e793 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 29 Aug 2016 12:39:49 +0200 Subject: Add old mailing list archives --- .../archives/extend/2013-October/000271.html | 113 +++++++++++++++++++++ 1 file changed, 113 insertions(+) create mode 100644 _build/static/archives/extend/2013-October/000271.html (limited to '_build/static/archives/extend/2013-October/000271.html') diff --git a/_build/static/archives/extend/2013-October/000271.html b/_build/static/archives/extend/2013-October/000271.html new file mode 100644 index 00000000..a71e5ae4 --- /dev/null +++ b/_build/static/archives/extend/2013-October/000271.html @@ -0,0 +1,113 @@ + + + + [99s-extend] timeout in cowboy loop handler + + + + + + + + + + +

[99s-extend] timeout in cowboy loop handler

+ akonsu + akonsu at gmail.com +
+ Wed Oct 16 05:03:53 CEST 2013 +

+
+ +
so it will disconnect if the client only listens and sends nothing to the
+socket, correct?
+
+
+2013/10/15 Loïc Hoguin <essen at ninenines.eu>
+
+> The socket connected to the client.
+>
+> TCP isn't perfect, there is no way to be 100% sure the client is still
+> connected, hence the timeout. If the client is still up you should make it
+> reconnect.
+>
+>
+> On 10/16/2013 04:55 AM, akonsu wrote:
+>
+>> Hello,
+>>
+>> the documentation for `init` at
+>> http://ninenines.eu/docs/en/**cowboy/HEAD/manual/cowboy_**loop_handler<http://ninenines.eu/docs/en/cowboy/HEAD/manual/cowboy_loop_handler>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
+>>
+>>
+>> ______________________________**_________________
+>> Extend mailing list
+>> Extend at lists.ninenines.eu
+>> http://lists.ninenines.eu:81/**listinfo/extend<http://lists.ninenines.eu:81/listinfo/extend>
+>>
+>>
+>
+> --
+> Loďc Hoguin
+> Erlang Cowboy
+> Nine Nines
+> http://ninenines.eu
+>
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: <http://lists.ninenines.eu/archives/extend/attachments/20131015/591e8649/attachment.html>
+
+ + +
+

+ +
+More information about the Extend +mailing list
+ -- cgit v1.2.3