Cloud Wu
70c224c3e7
use clusteragent to dispatch cluster request
2018-04-14 16:11:26 +08:00
Cloud Wu
1932d33b41
set node = false when node is down, see #803
2018-02-24 21:26:24 +08:00
Cloud Wu
9cf4525a8f
avoid error circulation
2018-02-12 18:07:16 +08:00
Cloud Wu
0846a6533d
fix a legacy problem. make harbor service more stable
2018-02-12 18:07:16 +08:00
Cloud Wu
484404295e
Merge branch 'hongling0-master'
2018-02-05 11:38:22 +08:00
云风
3e54becb95
Merge branch 'master' into master
2018-02-05 11:34:52 +08:00
hong
ab13305b64
monitor中不增加ref
2018-02-05 10:18:35 +08:00
Cloud Wu
6fdb123df4
bugfix, See #800
2018-02-04 21:32:41 +08:00
Cloud Wu
6cdc1cf95c
collect used response, see #800
2018-02-04 16:25:19 +08:00
hong
2dd5a06616
抄写错误
2018-02-03 15:49:01 +08:00
hong
e7436bfa95
skynet.response() leak
...
datasheet在monitor接口里面产生的reponse在release接口里面没有释放
2018-02-03 15:43:33 +08:00
Cloud Wu
084aab4bcd
dns server auto retire
2018-01-25 15:56:47 +08:00
Cloud Wu
cd99557368
udp send don't need inc/dec sending ref, see issue #794
2018-01-25 15:55:45 +08:00
Cloud Wu
04f4004934
sproto bugfix
2018-01-23 11:24:44 +08:00
Cloud Wu
bbf46f935a
dec sending count asap, this may fix #794
2018-01-19 10:41:35 +08:00
Cloud Wu
b792c7144d
clusterd wait for cluster.reload when the name no exist
2018-01-04 14:18:29 +08:00
Cloud Wu
5d5112257c
use 32bit sending, see issue #777
2017-12-06 20:58:36 +08:00
云风
747e6c7848
Merge pull request #775 from cloudwu/tcpwriteorder
...
Tcpwriteorder, Fix #744
2017-12-04 11:45:49 +08:00
Cloud Wu
45d848c910
bugfix: inc sending ref, See issue #774
2017-12-04 10:55:47 +08:00
Cloud Wu
f12fa7e8f9
May fix issue #774
2017-12-03 00:26:12 +08:00
Cloud Wu
568a435e9e
fix issue #773
2017-11-30 16:13:58 +08:00
Cloud Wu
c46f2633be
fork may not execute when the service exit, and __gc would send message release without monitor
2017-11-16 10:47:18 +08:00
Cloud Wu
b51e28a3e0
set nodelay, see issue #763
2017-11-14 18:01:08 +08:00
云风
badfab8561
Merge pull request #761 from cloudwu/mongolimit
...
positive limit support
2017-11-07 10:17:04 +08:00
Cloud Wu
d5c0d687b3
positive limit support
2017-11-06 20:51:33 +08:00
Cloud Wu
57f08426ee
concurrent cluster link, fix issue #757
2017-11-02 22:31:54 +08:00
Cloud Wu
ba59b879ad
release v1.1
v1.1.0
2017-10-31 11:27:14 +08:00
Cloud Wu
1e9e16f16b
fix #755
2017-10-30 11:43:17 +08:00
Cloud Wu
ece075ef6e
update sproto
2017-10-18 10:02:59 +08:00
Cloud Wu
c4c429b699
fix #747
2017-10-18 09:51:22 +08:00
云风
21f881910b
Merge pull request #749 from chengdd1987/master
...
http中connect可能会连接失败,不应当将错误的fd继续传递下去
2017-10-18 09:44:43 +08:00
chengzhe
37157273ff
http中connect可能会连接失败,不应当将错误的fd继续传递下去
2017-10-17 17:50:54 +08:00
云风
460ed2e9e2
Merge pull request #745 from qinhanlei/patch1
...
remove useless code.
2017-10-07 11:13:27 +08:00
Hanlei Qin
03ce7ab385
remove useless code.
2017-10-06 00:42:48 +08:00
Cloud Wu
1c605bed2b
this may fix #744
2017-10-04 00:11:31 +08:00
Cloud Wu
55136b77ad
fix issue #741
2017-09-25 15:10:21 +08:00
Cloud Wu
d8798a280a
Revert "pthread may call __libc_memalign, see #731 "
...
This reverts commit c8d6ffd393 .
2017-09-06 22:21:04 +08:00
Cloud Wu
c8d6ffd393
pthread may call __libc_memalign, see #731
2017-09-06 20:19:29 +08:00
Cloud Wu
100329f09f
official lua bugfix
2017-09-04 16:23:19 +08:00
Cloud Wu
553c30c6d1
sproto.default returns array type
2017-09-01 11:46:43 +08:00
云风
415459e656
Merge pull request #728 from hwangcc23/init-sigaction
...
Properly initialize sigaction struct
2017-09-01 10:05:08 +08:00
hwangcc23
596e8cfab2
Properly initialize sigaction struct
...
The code in skynet_main.c wasn't clearing the struct sigaction before passing it to sigaction().
This meant that we would block a random set of signals while executing the SIGPIPE handler, or jump to the uninitialized __sa_sigaction__ (instead of sa_handler).
Initialize properly as we do in skynet_start.c.
2017-08-31 22:38:50 +08:00
Cloud Wu
dab4419335
catch error , see #726
2017-08-28 16:06:51 +08:00
Cloud Wu
932ebfa0fd
lua bugfix
2017-08-28 16:06:05 +08:00
云风
9d74307836
Merge pull request #725 from dingmingxin/master
...
using clock_gettime in macos(in macos_10.12 and later)
2017-08-28 12:08:41 +08:00
dmx
7be5ea0148
using clock_gettime in macos(in macos_10.12 and laster)
2017-08-28 11:26:51 +08:00
Cloud Wu
525279e9dd
lua bugfix, see http://lua-users.org/lists/lua-l/2017-08/msg00065.html
2017-08-24 10:50:36 +08:00
云风
d0fbf0802f
Merge pull request #722 from hwangcc23/fix-double-free
...
Fix double free
2017-08-24 10:05:46 +08:00
云风
fad154f474
remove this free would be better
2017-08-24 10:01:47 +08:00
hwangcc23
40543d42d5
Fix double free
...
In the mainloop function, calling __skynet_free__ frees the pointer which may has already been freed in __push_socket_data__.
mainloop(struct skynet_context * context, void * ud, int type, int session, uint32_t source, const void * msg, size_t sz) {
struct harbor * h = ud;
switch (type) {
case PTYPE_SOCKET: {
const struct skynet_socket_message * message = msg;
switch(message->type) {
case SKYNET_SOCKET_TYPE_DATA:
push_socket_data(h, message);
skynet_free(message->buffer);
// skip...
To fix this potential double-free bug, clear the pointer message->buffer in __push_socket_data__ after the pointer is freed.
2017-08-23 23:43:20 +08:00