子熏
56c70dc7ac
fix socket half close ( #1263 )
...
Co-authored-by: zixun <lvzxiun@gmail.com >
2020-12-03 15:47:51 +08:00
Cloud Wu
6c3e969e91
shutdown read while halfclose
2020-10-19 11:05:08 +08:00
Cloud Wu
1dfddc0d84
add reading and writing into netstat
2020-10-16 13:06:01 +08:00
Cloud Wu
e241920949
enable read when closing
2020-10-15 17:34:44 +08:00
Cloud Wu
0971ce9912
enable write in socket thread
2020-10-13 14:21:38 +08:00
Cloud Wu
77311c7243
enable error handle
2020-10-13 12:04:08 +08:00
Cloud Wu
e75d033066
fix kqueue
2020-10-13 10:53:33 +08:00
Cloud Wu
a4221deac1
enable read
2020-10-12 22:34:46 +08:00
Cloud Wu
f3acbe46df
bugfix: pause will disable write event
2020-10-12 18:28:24 +08:00
Dirk Chang
55efa75fdf
Invalid addrinfo pointer casues skynet asserted in freeaddrinfo on OpenWRT (arm cpu) ( #1236 )
2020-08-31 16:48:50 +08:00
Cloud Wu
51fd63213e
bugfix: switch reading status
2020-08-10 16:35:55 +08:00
Cloud Wu
a4dc6b9094
add api skynet_socket_pause
2020-08-10 10:57:59 +08:00
fanlix
f2b1bd7319
stat: add mem stat for jemalloc ( #1218 )
...
1, add opts arg for mallctl,dumpinfo
2, collect jemalloc.mem info
3, add debug_console cmd: jmem
Co-authored-by: fx <fx@f.x>
2020-07-22 19:26:39 +08:00
zixun
b7b595e53a
fix kqueue read with eof
2019-11-28 10:20:00 +08:00
Cloud Wu
80d1082b42
bugfix
2019-11-14 10:49:25 +08:00
Cloud Wu
9d7ea09789
Add socket_sendbuffer
2019-11-14 10:49:25 +08:00
Cloud Wu
89f487e0a4
bugfix: init the lock of code cache at start
2019-07-02 23:08:54 +08:00
Cloud Wu
5d26fb3f18
remove ssm and add string id
2019-06-25 10:01:19 +08:00
Cloud Wu
2ceb642b5d
rewrite SSM and clonefunction
2019-06-10 15:11:51 +08:00
zixun
2c8d373236
fix use NOUSE_JEMALLOC
2019-05-06 11:17:05 +08:00
wudeng
35aa00fb13
Add jemalloc heap profilling in debug console
2019-05-01 20:37:48 +08:00
Dalton
9ffdf2dbde
Update skynet_daemon.c
2019-03-20 18:26:45 +08:00
Cloud Wu
48e5c36b5e
volatile for signal, see #950
2019-03-01 16:47:29 +08:00
Cloud Wu
8a3a0c1b71
register logger name in framework, see #909
2018-10-21 13:21:51 +08:00
Cloud Wu
08e56f4316
fix #793
2018-10-11 17:38:49 +08:00
Cloud Wu
7e57e498f6
remove dead_service table, address may reused
2018-10-08 15:44:12 +08:00
Cloud Wu
98b5c7c7c6
address 0 is reserved
2018-10-08 14:20:53 +08:00
Cloud Wu
61980c8a1f
add socket.netstat
2018-09-07 16:11:27 +08:00
Cloud Wu
9421815327
add posix_memalign hook
2018-07-23 15:32:35 +08:00
Cloud Wu
1a0c9997ec
fix #863
2018-07-23 14:53:01 +08:00
Cloud Wu
16f060f864
hook aligned_alloc
2018-07-20 14:46:53 +08:00
zixun
07db2580c4
fix kqueue error flag
2018-07-05 18:55:51 +08:00
zixun
1df72c0afe
fix kqueue eof event
2018-07-05 18:37:50 +08:00
Cloud Wu
d8ab9dea1b
fix #852
2018-06-25 14:24:04 +08:00
Cloud Wu
a8e5c31381
check udp address, see #852
2018-06-25 12:10:30 +08:00
Cloud Wu
eb8a2b5e65
Improve cluster package module
2018-04-17 10:47:41 +08:00
Cloud Wu
0846a6533d
fix a legacy problem. make harbor service more stable
2018-02-12 18:07:16 +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
bbf46f935a
dec sending count asap, this may fix #794
2018-01-19 10:41:35 +08:00
Cloud Wu
5d5112257c
use 32bit sending, see issue #777
2017-12-06 20:58:36 +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
1c605bed2b
this may fix #744
2017-10-04 00:11:31 +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
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
dmx
7be5ea0148
using clock_gettime in macos(in macos_10.12 and laster)
2017-08-28 11:26:51 +08:00
Cloud Wu
9c37f5292a
check direct write buffer before close, see #711
2017-08-11 17:06:01 +08:00
Cloud Wu
317b4fb08f
merge master
2017-07-14 21:42:15 +08:00
Cloud Wu
2b5c5e3dd3
see pr #683
2017-07-14 21:38:21 +08:00