summaryrefslogblamecommitdiffstats
path: root/archives/extend/2014-August/000435.html
blob: c1d359f5e6630bd1e8195e19babef1ce02f19233 (plain) (tree)



































































































                                                                                                                                                                                                                   
<!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 &#50724;&#54980; 6:25, Lo&#239;c Hoguin &lt;<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>&gt; wrote:

&gt;<i> Does it happen with ssl_hello_world?
</I>&gt;<i> 
</I>&gt;<i> On 07/26/2014 09:06 AM, chaehb wrote:
</I>&gt;&gt;<i> Hi, everybody.
</I>&gt;&gt;<i> 
</I>&gt;&gt;<i> After Erlang updated to 17.1,
</I>&gt;&gt;<i> when I run q(). command on erlang console, cowboy couldn't quitted but print series of messages..
</I>&gt;&gt;<i> 
</I>&gt;&gt;<i> (after ok signal printed)
</I>&gt;&gt;<i> 
</I>&gt;&gt;<i> &#8230;...
</I>&gt;&gt;<i> =ERROR REPORT==== 26-Jul-2014::15:23:33 ===
</I>&gt;&gt;<i> Error in process &lt;0.334.0&gt; on node &#8216;...my node name...' with exit value: {{case_clause,{error,closed}},[{ranch_acceptor,loop,3,[{file,&quot;src/ranch_acceptor.erl&quot;},{line,28}]}]}
</I>&gt;&gt;<i> &#8230;.
</I>&gt;&gt;<i> 
</I>&gt;&gt;<i> Before erlang updated (in 17.0), application could be normally quitted exactly same codes and environments.
</I>&gt;&gt;<i> 
</I>&gt;&gt;<i> This is only appeared when I only use ssl(https).
</I>&gt;&gt;<i> But when use only http with same dispatch rules, cowboy normally quitted.
</I>&gt;&gt;<i> 
</I>
I&#8217;ve try to do more tests with ssl_hello_world in cowboy(v1.0)  and various Erlang/OTP versions.

If ErlangOTP &lt; 17.0, http/https works fine.
If ErlangOTP &gt;= 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 &gt; line 40 
	{error, Reason} when Reason =/= closed -&gt; 
	to
	{error, Reason} -&gt;
,
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>