1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE> [99s-extend] does cowboy support hot code reload/replace ?
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20does%20cowboy%20support%20hot%20code%20reload/replace%20%3F&In-Reply-To=%3CCAN_mQBq4FEG66Ot2CpTLgChaaTMUW1vG0cjsZrEs-Rbms7zGuQ%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="000122.html">
<LINK REL="Next" HREF="000124.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[99s-extend] does cowboy support hot code reload/replace ?</H1>
<B>yongboy</B>
<A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20does%20cowboy%20support%20hot%20code%20reload/replace%20%3F&In-Reply-To=%3CCAN_mQBq4FEG66Ot2CpTLgChaaTMUW1vG0cjsZrEs-Rbms7zGuQ%40mail.gmail.com%3E"
TITLE="[99s-extend] does cowboy support hot code reload/replace ?">yongboy at gmail.com
</A><BR>
<I>Fri Apr 26 07:57:00 CEST 2013</I>
<P><UL>
<LI>Previous message: <A HREF="000122.html">[99s-extend] does cowboy support hot code reload/replace ?
</A></li>
<LI>Next message: <A HREF="000124.html">[99s-extend] cowboy how to ruduce the memory usage per long-hold connection
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#123">[ date ]</a>
<a href="thread.html#123">[ thread ]</a>
<a href="subject.html#123">[ subject ]</a>
<a href="author.html#123">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Thanks very much !
Maybe we can use the code:load_file() function I had just found it .
2013/4/25 Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>>
><i> On 04/25/2013 05:46 AM, yongboy wrote:
</I>><i>
</I>>><i> You know, the OTP's code_change so heavy, sometimes, you just want to
</I>>><i> debug, or change a little, does not want to rewrite the rel appup file.
</I>>><i> Any help is appreciated, thanks.
</I>>><i>
</I>><i>
</I>><i> At this time there is no code_change mechanism in Cowboy. Reloading a
</I>><i> module works, modifying the protocol options with
</I>><i> ranch:set_protocol_options can be used, but it doesn't change the running
</I>><i> processes.
</I>><i>
</I>><i> --
</I>><i> Loďc Hoguin
</I>><i> Erlang Cowboy
</I>><i> Nine Nines
</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/20130426/09f3ed34/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20130426/09f3ed34/attachment.html</A>>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="000122.html">[99s-extend] does cowboy support hot code reload/replace ?
</A></li>
<LI>Next message: <A HREF="000124.html">[99s-extend] cowboy how to ruduce the memory usage per long-hold connection
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#123">[ date ]</a>
<a href="thread.html#123">[ thread ]</a>
<a href="subject.html#123">[ subject ]</a>
<a href="author.html#123">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend
mailing list</a><br>
</body></html>
|