-
Notifications
You must be signed in to change notification settings - Fork 3
/
CHANGES
286 lines (147 loc) · 5.31 KB
/
CHANGES
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
eSockd ChangeLog
================
4.2 (2017/03/14)
-------------------
API Breaking Change '{ssl, list()}' to '{sslopts, [ssl:ssl_option()]}'
Add esockd_connection:peercert/1, esockd_transport:peercert/1 functions
Add esockd_connection:gc/1, esockd_transport:gc/1 functions.
4.1.1 (2017/01/06)
---------------------
Fast close the TCP socket if ssl:ssl_accept failed (#41)
4.1-beta (2016/06/30)
---------------------
UDP Server
4.0-beta (2016/05/24)
---------------------
IPv6 Support
Listen on specific IP Address
3.2-beta (2016/05/23)
---------------------
Issue #25 - {accept_error,econnaborted} crash report
Issue #27 - acceptor crasher: {accept_error,econnaborted}
Issue #26 - acceptor - system_limit error
3.1-beta (2016/01/31)
----------------------
Replace rebar with erlang.mk
3.0-beta (2015/10/30)
------------------------
Parameterized Connection Module
Rate Limit
Add esockd_gen.erl
2.8.0-beta (2015/10/28)
------------------------
issue #16 - Rate Limiting based on Token Bucket Algorithm
2.7.1-beta (2015/09/10)
------------------------
Improve esock:with_listener/2
2.7.0-beta (2015/09/08)
------------------------
issue #10: inet:peername(Sock) call return {error, 'enotconn'} on AliYun node
issue #11: Too many connection_shutdown report logs when connections from unstable mobile network
issue #12: Fast close the socket when server side error occurred?
esockd.erl: add get_shutdown_count/1, with_listener/2 api
2.6.0-beta (2015/07/28)
------------------------
Keepalive
2.5.2-beta (2015/05/04)
------------------------
dialyzer support
2.5.1-beta (2015/05/01)
------------------------
update README.md
update esockd:option/0 type
2.5.0-beta (2015/05/01)
------------------------
support 'sockopts' option
remove esockd:sockopts/1
2.4.0-beta (2015/04/29)
------------------------
esockd_transport: add type/1 API
Changes: update comments format
2.3.0-beta (2015/04/09)
------------------------
Bugfix: issue #9 - enotconn error occured when call ‘inet:peername(Sock)’ in esockd_acceptor.erl sometimes
2.2.3-alpha (2015/03/26)
------------------------
esockd_access: rewrite 'atoi/1'
2.2.2-alpha (2015/03/26)
------------------------
esockd_access: export 'cidr(), range()' types
esockd_access: -spec range(cidr()) -> {pos_integer(), pos_integer()}.
2.2.1-alpha (2015/03/23)
------------------------
fix stupid '2500k' in README, CHANGELOG...
2.2.0-alpha (2015/03/22)
------------------------
esockd_connection_sup: merge supervisor:terminate/2 code
esockd_connection_sup: add 'shutdown' option
esockd: rename 'callback' to 'mfargs'
esockd: add 'shutdown' option
2.1.0-alpha (2015/03/18)
------------------------
esockd_connections_sup: do not user supervisor, write a new implematation
remove esockd_manager, merge its functions to the new esockd_connectioins_sup
esockd_acceptor: fix the tune buffer issue. when set buffer as max of sndbuf, recbuf, esockd will consume too much memories
esockd: add 'tune_buffer' option to tune 'buffer' for hight throughput socket
esockd_transport: add recv/3 function
Benchmark this release on one 8 cores, 32G memory ubuntu/14.04 server from QingCloud:
```
250K concurrent connections, 50K messages/sec, 40Mbps In/Out Consumed 5G memory, 20% CPU/core
```
2.0.1-alpha (2015/03/15)
------------------------
esockd.app.src: update vsn to 2.0.1
update change logs
2.0.0-alpha (2015/03/15)
------------------------
Support [Allow/Deny](https://github.com/emqtt/esockd/wiki/Allow-and-Deny) features like NGINX.
esockd to add allow/2, deny/2, get_access_rules/1 APIs
esockd_manager to add allow/2, deny/2, access_rules/1 APIs
new esockd_access file
v1.2.0-beta (2015/03/13)
------------------------
rename 'acceptor_pool' option to 'acceptors'
v1.1.0-beta (2015/03/10)
------------------------
Make esockd_stats table public and write_concurrency
esockd_acceptor: fix format of Accept log
v1.0.0-beta (2015/03/03)
------------------------
First public release with stable API.
v0.3.0-beta (2015/03/03)
------------------------
esockd add close/1, get_acceptor_pool/1, get_stats/1 apis
esockd_acceptor_sup add count_acceptors/1 api
esockd_acceptor add 'statsfun' to state
esockd_net add format/2 api
esockd_listener_sup: change 'restart strategy' from one_for_all to rest_for_one
esockd.hrl: remove 'sock_args' record
esockd_server add stats_fun/2, inc_stats/3, dec_stats/3, get_stats/1, del_stats/1
v0.2.0-beta (2015/03/02)
------------------------
esockd.erl: add get_max_clients/1, set_max_clients/2, get_current_clients/1
esockd_connection.erl: 'erlang:apply(M, F, [SockArgs|Args])'
esockd_acceptor.erl: log protocol name
gen_logger to replace error_logger, and support 'logger' option
0.1.1-beta (2015/03/01)
------------------------
Doc: update README.md
0.1.0-beta (2015/03/01)
------------------------
Add more exmaples
Add esockd_server.erl
Redesign esockd_manager.erl, esockd_connection_sup.erl
0.1.0-alpha (2015/02/28)
------------------------
First public release
TCP/SSL Socket Server
0.0.2 (2014/12/07)
------------------------
acceptor suspend 100ms when accept 'emfile' error
esockd_client_sup to control max connections
esockd_client_sup: 'M:go(Client, Sock)' to tell gen_server the socket is ready
esockd_acceptor: add 'tune_buffer_size'
0.0.1 (2014/11/30)
------------------------
redesign listener api
first release...