Commit Graph

1979 Commits

Author SHA1 Message Date
Cloud Wu
e23ad8fc6b fix type 2021-02-03 16:04:01 +08:00
Cloud Wu
4534fb5269 pcall execute_module, #1331 2021-01-25 20:31:04 +08:00
Cloud Wu
41cc6d226c remove debug print 2021-01-25 10:47:06 +08:00
Cloud Wu
4532d4f146 Fix skynet.require recursion issue, See #1331 2021-01-25 10:34:01 +08:00
Cloud Wu
30279f2f8d Add gameserver embed mode, see #1326 2021-01-18 16:56:46 +08:00
风---自由
4c9c9ce6bd debug_console add dbgcmd command (#1325) 2021-01-18 10:41:30 +08:00
hong
cfb638243f skynet.exit (#1324) 2021-01-14 11:03:32 +08:00
云风
4cb84ac881 skynet.init rework, See #1322 (#1323)
* skynet.init rework, See #1322

* restore init_list #1322

* xpcall init_all, See #1322
2021-01-14 10:23:58 +08:00
lsg2020
53a74ca029 websocket upgrade (#1279) 2021-01-12 10:43:42 +08:00
子熏
2e06706323 fix atomic of macosx (#1320) See #1317
Co-authored-by: zixun <lvzxiun@gmail.com>
2021-01-11 17:41:03 +08:00
Cloud Wu
649aee1a23 use unsigned long instead of uint32_t to match atomic ulong 2021-01-11 17:32:37 +08:00
Cloud Wu
933dbbd570 lua-bson atomic #1317 2021-01-11 17:30:04 +08:00
Cloud Wu
1e5e8354d7 stm_copy.reference is _Atomic type, #1317 2021-01-11 17:20:16 +08:00
Cloud Wu
bc2fba560f CAS expected should not be _Atomic type, #1317 2021-01-11 17:10:26 +08:00
Cloud Wu
1ed4fdf94d Use _Atomic type for socket.sending and socket.udpconnecting. See #1317 2021-01-11 16:57:25 +08:00
子熏
c0e3421462 bugfix ltls init #1314 (#1318)
* bugfix ltls init #1314

* 修改init失败信息

* fix destructor

Co-authored-by: zixun <lvzxiun@gmail.com>
2021-01-11 15:15:25 +08:00
云风
b164e3a8a9 use stdatomic (#1317) 2021-01-11 10:54:34 +08:00
coder
284df5430b service_logger.c localtime崩溃,换成线程安全的localtime_r (#1311) 2020-12-28 15:42:16 +08:00
Cloud Wu
4d88f96ed6 bugfix: make proto shared 2020-12-18 19:20:15 +08:00
Cloud Wu
8022a53e50 O(1) fork_queue pop, See #1277 2020-12-16 23:05:52 +08:00
t0350
698d032a9b fix #1275 (#1276)
Co-authored-by: jietao.cjt <jietao.cjt@alibaba-inc.com>
2020-12-14 10:16:56 +08:00
Cloud Wu
8eac155b1b reset connection if node_sender exist, see issue #1273 2020-12-12 14:44:28 +08:00
Cloud Wu
e8a48483ab Check address changes before raise error, fix #1273 2020-12-11 12:02:32 +08:00
涵曦
4faa6499e8 fixed mongodb werror return errmsg (#1271) v1.4.0 2020-12-08 08:47:14 +08:00
涵曦
704194226d remove duplicate include directory (#1270) 2020-12-07 17:10:13 +08:00
Cloud Wu
ad06d232a6 This may fix #1268 2020-12-04 18:27:55 +08:00
8aa1587245 并发请求 sharedata.query 返回增加缓存状态检查 (#1266) 2020-12-04 16:42:41 +08:00
Cloud Wu
3af6b72aed close thread in suspend, See #1261 2020-12-04 15:42:35 +08:00
子熏
56c70dc7ac fix socket half close (#1263)
Co-authored-by: zixun <lvzxiun@gmail.com>
2020-12-03 15:47:51 +08:00
hong
693b962b43 to-be-closed (#1261) 2020-12-01 11:51:35 +08:00
najoast
5248d443dc Fix typo: Causes an error when resp is false (#1260)
Co-authored-by: zhouyan <zhouyan@onemt.com.cn>
2020-11-24 18:32:28 +08:00
Cloud Wu
9eb37198ea update lua 5.4.2 2020-11-16 10:51:36 +08:00
t0350
c7dc8751c7 sync sproto weak type (#1259) 2020-11-14 21:36:58 +08:00
Cloud Wu
2a076d8192 init extra stack 2020-11-04 11:24:53 +08:00
Cloud Wu
f27930e7f7 bugfix 2020-11-04 10:48:35 +08:00
Cloud Wu
902fb94274 Revert "bugfix"
This reverts commit cb445f17d4.
2020-11-04 10:47:14 +08:00
Cloud Wu
cb445f17d4 bugfix 2020-11-04 10:20:26 +08:00
Cloud Wu
3f8a2f69df update lua 5.4.2 2020-11-04 10:18:33 +08:00
涵曦
84e600bed3 #855 add test runCommond for testmongodb (#1255) 2020-10-29 14:05:16 +08:00
Cloud Wu
80b60f23c9 use CAS to finish set 2020-10-23 19:20:31 +08:00
Cloud Wu
6b74773f52 Merge branch 'master' of https://github.com/cloudwu/skynet 2020-10-23 18:21:45 +08:00
Cloud Wu
a6adc69090 Use atomic instruct to avoid concurrence signal 0 2020-10-23 18:21:16 +08:00
子熏
1e945a1dec fix sharetable update and tail call (#1253)
Co-authored-by: zixun <lvzxiun@gmail.com>
2020-10-23 14:42:31 +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
bae00163b2 Merge branch 'master' of https://github.com/cloudwu/skynet 2020-10-16 12:06:24 +08:00
Cloud Wu
8a7c2b41a1 luaS_hash changed 2020-10-16 12:04:40 +08:00
Cloud Wu
394a065ea2 move yield from suspend to pause, see #1248 2020-10-16 11:49:38 +08:00
Cloud Wu
8ea74c2b93 update to lua 5.4.2 2020-10-16 11:09:39 +08:00
Cloud Wu
6dfdebc1a2 reset pause after wait 2020-10-15 20:25:29 +08:00