Commit Graph

2043 Commits

Author SHA1 Message Date
涵曦
39e0aaa27e Fix typo (#1436) 2021-07-10 07:24:07 +08:00
colin
338f53fbe0 use _mm_pause (#1433) 2021-07-01 19:29:48 +08:00
colin
5c154d34dc improve spinlock (#1431)
* improve spinlock

* improve spinlock

* typo

Co-authored-by: colin <linzhengqun@163.com>
2021-06-30 12:42:58 +08:00
子熏
2bfecfceae fix lua-seri rb_read (#1427)
Co-authored-by: zixun <lvzxiun@gmail.com>
2021-06-23 15:52:46 +08:00
cm
3900067026 bugfix:params changed when cluster sender is connecting (#1420)
Co-authored-by: LiuYang <cm.yang@alibaba-inc.com>
2021-06-08 17:03:20 +08:00
zhuilang
c90e288601 Update skynet.lua (#1416)
update skynet.wait
2021-06-05 00:35:28 +08:00
colin
c2c585f73a freebsd compile error (#1414) 2021-06-03 19:13:30 +08:00
zhuilang
219b15e9ec Update skynet.lua (#1415)
update skynet.ret
2021-06-03 19:11:54 +08:00
Cloud Wu
30b534b558 ignore break sessions, See issue #1413 2021-06-03 08:13:22 +08:00
喜欢兰花山丘
f5eee7dcbb Update socket_server.c (#1410)
1. 去除冗余代码
2. fix 保存第一现场的错误码
2021-05-30 06:52:02 +08:00
Cloud Wu
ef4af820d5 Do not resume the fd after closing, see #1408 2021-05-21 10:15:21 +08:00
Cloud Wu
71317d8502 Add socket.resolve, see #1398 2021-05-17 11:16:24 +08:00
t0350
6ad8da0993 when skynet.init require the loading module caused circular dependency (#1403) 2021-05-16 22:26:39 +08:00
蒋祥龙
28d47d96b9 1.修复前一个ssl错误没清,导致后面的正常ssl调用操作 获取到这个错误 (#1401) 2021-05-14 21:07:27 +08:00
t0350
1e6781bd41 add coroutine close for skynetco (#1392)
Co-authored-by: jietao.cjt <jietao.cjt@alibaba-inc.com>
2021-04-29 14:40:37 +08:00
Cloud Wu
f61a27ac6b fix #1388 2021-04-19 18:45:56 +08:00
Cloud Wu
1020c403dc revert wakeup_response 2021-04-15 08:58:29 +00:00
云风
f0d24ac718 Bugfix #1385 (#1387) 2021-04-15 10:52:57 +08:00
云风
52d65c5dcb Redis ACL (#1381)
* Support redis ACL
See #1380
2021-04-10 07:02:38 +08:00
busymage
2b71c2755a Fix boostrap only support 1 param. (#1377) 2021-04-07 19:08:29 +08:00
Cloud Wu
df2803469e Add report_error(), this may fix issue #1376 2021-04-07 07:26:02 +00:00
Cloud Wu
bc71164a99 close may be better than shutdown 2021-04-07 03:47:19 +00:00
Cloud Wu
e69f876867 raise error on start, fix #1374 2021-04-07 03:39:22 +00:00
Cloud Wu
f9dc6a3756 fix SOCKET_CLOSE event after socket.close() See #1373 2021-04-07 03:25:55 +00:00
Cloud Wu
0f5867534c remove unused socket.lock/socket.unlock 2021-04-07 02:54:09 +00:00
Cloud Wu
ceb278adf6 Add shutdown to client_socket for testing 2021-04-06 16:46:14 +08:00
Cloud Wu
85dde52107 minor bugfix : socket_server_poll never returns -1 2021-04-06 16:45:51 +08:00
Cloud Wu
8ad6622936 halfclose_read should call before force_close 2021-04-06 15:47:32 +08:00
Cloud Wu
ba26c8a432 Do not close on error, see #1373 2021-04-06 10:46:41 +08:00
Cloud Wu
96c702bb3c bugfix 2021-04-02 10:33:23 +08:00
Cloud Wu
811ef52b3d fix build 2021-03-30 14:55:02 +08:00
Cloud Wu
e0d4fda24e Update lua 5.4.3 2021-03-30 10:09:43 +08:00
Cloud Wu
11165ce727 fix #1368 2021-03-29 14:27:37 +08:00
Cloud Wu
22b5fbf3b8 fix #1369 2021-03-29 14:23:40 +08:00
云风
9228b05dfe socket.onclose() (#1364)
* Add socket.onclose() and close socket immediately when socket channel closed by peer

* Revert read_socket(), Add SOCKET_MORE, See #1358

* remove warning log , because it's not a rare case any more. See #1358
2021-03-19 18:52:09 +08:00
风---自由
a39c9b8b10 clean时增加对macosx下的编译目录生效 (#1361)
* fix: macosx build error

* 🐎ci(makefile): clean时增加macosx下的编译目录

Co-authored-by: xiaojin <xiaojin@onemt.com.cn>
2021-03-11 15:18:13 +08:00
Cloud Wu
037c3a5c48 do not close fd if no handler.disconnect, #1358 2021-03-11 12:31:37 +08:00
Cloud Wu
094b20aae7 fix half close issue, #1358 2021-03-11 11:32:27 +08:00
风---自由
bf5eacfe80 fix: macosx build error (#1360)
Co-authored-by: xiaojin <xiaojin@onemt.com.cn>
2021-03-10 17:35:17 +08:00
Cloud Wu
fd12f2ea8e Merge branch 'master' of github.com:cloudwu/skynet 2021-03-10 15:25:14 +08:00
Cloud Wu
7c0c13b07b close unmanaged socket, see issue #1358 2021-03-10 15:24:33 +08:00
EfveZombie
b0dda0483d fix websocket bugs (#1359)
* fix websocket bugs

* revert write_frame

Co-authored-by: 郑非凡 <efve.zff@alibaba-inc.com>
2021-03-10 12:35:56 +08:00
Cloud Wu
6f2866e5c4 avoid warnings 2021-03-10 12:11:02 +08:00
Cloud Wu
213c9966e4 fix build 2021-03-10 12:01:15 +08:00
Cloud Wu
072d782651 Update lua 5.4.3 rc1 2021-03-10 11:53:37 +08:00
Cloud Wu
600a64327e fix halfclose bug, See detail #1358 2021-03-09 17:45:03 +08:00
Cloud Wu
0d9bfcb721 Atomic variable should be volatile, #1356 #1317 2021-03-09 10:54:49 +08:00
Cloud Wu
8d895ab2f0 See #1317 2021-03-05 21:36:52 +08:00
Cloud Wu
c12a7d1b99 Remove unused include 2021-03-04 11:40:15 +08:00
Cloud Wu
77c965e9e8 Don't support old MacOSX 2021-03-03 17:08:12 +08:00