<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE> [99s-extend] couldn't quit in Erlang 17.1
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20couldn%27t%20quit%20in%20Erlang%2017.1&In-Reply-To=%3C159B6EFE-5869-4503-ADD7-5547D8A0A6B2%40gmail.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="000434.html">
<LINK REL="Next" HREF="000436.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[99s-extend] couldn't quit in Erlang 17.1</H1>
<B>chaehb</B>
<A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20couldn%27t%20quit%20in%20Erlang%2017.1&In-Reply-To=%3C159B6EFE-5869-4503-ADD7-5547D8A0A6B2%40gmail.com%3E"
TITLE="[99s-extend] couldn't quit in Erlang 17.1">chaehb at gmail.com
</A><BR>
<I>Thu Aug 14 03:20:05 CEST 2014</I>
<P><UL>
<LI>Previous message: <A HREF="000434.html">[99s-extend] eunit suppoort in erlang.mk?
</A></li>
<LI>Next message: <A HREF="000436.html">[99s-extend] cowboy_rest and response headers
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#435">[ date ]</a>
<a href="thread.html#435">[ thread ]</a>
<a href="subject.html#435">[ subject ]</a>
<a href="author.html#435">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>
On 2014. 7. 27., at 오후 6:25, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> wrote:
><i> Does it happen with ssl_hello_world?
</I>><i>
</I>><i> On 07/26/2014 09:06 AM, chaehb wrote:
</I>>><i> Hi, everybody.
</I>>><i>
</I>>><i> After Erlang updated to 17.1,
</I>>><i> when I run q(). command on erlang console, cowboy couldn't quitted but print series of messages..
</I>>><i>
</I>>><i> (after ok signal printed)
</I>>><i>
</I>>><i> …...
</I>>><i> =ERROR REPORT==== 26-Jul-2014::15:23:33 ===
</I>>><i> Error in process <0.334.0> on node ‘...my node name...' with exit value: {{case_clause,{error,closed}},[{ranch_acceptor,loop,3,[{file,"src/ranch_acceptor.erl"},{line,28}]}]}
</I>>><i> ….
</I>>><i>
</I>>><i> Before erlang updated (in 17.0), application could be normally quitted exactly same codes and environments.
</I>>><i>
</I>>><i> This is only appeared when I only use ssl(https).
</I>>><i> But when use only http with same dispatch rules, cowboy normally quitted.
</I>>><i>
</I>
I’ve try to do more tests with ssl_hello_world in cowboy(v1.0) and various Erlang/OTP versions.
If ErlangOTP < 17.0, http/https works fine.
If ErlangOTP >= 17.1(17.1.x,17.2 in github), http works fine but with https the same errors appeared.
*****
When I edited ranch_accepter.erl > line 40
{error, Reason} when Reason =/= closed ->
to
{error, Reason} ->
,
https work and app was normally quitted.
When I printed, Reason == closed.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="000434.html">[99s-extend] eunit suppoort in erlang.mk?
</A></li>
<LI>Next message: <A HREF="000436.html">[99s-extend] cowboy_rest and response headers
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#435">[ date ]</a>
<a href="thread.html#435">[ thread ]</a>
<a href="subject.html#435">[ subject ]</a>
<a href="author.html#435">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend
mailing list</a><br>
</body></html>