hong
2cfe36a809
refix register_name_mt ( #1954 )
2024-07-06 12:59:33 +08:00
hong
059fd5cc00
new_register_name() ( #1949 )
2024-06-28 05:32:01 +08:00
Cloud Wu
64a0ed4bfa
Try to fix #1948
2024-06-27 08:31:30 +08:00
Cloud Wu
41928512f0
Use getshrstr()
2024-06-26 13:05:27 +08:00
Cloud Wu
afb50a0587
update lua 5.4.7
2024-06-26 08:41:59 +08:00
Cloud Wu
aa20f7642b
cleanup
2024-06-24 23:15:20 +08:00
anonymou3
f214c68ff3
The listen function supports passing backlog parameters ( #1941 )
...
Co-authored-by: anonymou3 <anonymou3>
2024-06-24 07:21:49 +08:00
华仔
dc1980dfc8
fix attempt to concatenate a nil value (local timeout) ( #1936 )
2024-06-24 07:21:49 +08:00
mippo520
ccd923c44f
skynet.wait中使用的session增加回绕判断 ( #1931 )
...
* skynet.wait中使用的session增加回绕判断
* 去除session判空
---------
Co-authored-by: mippo <hui.zeng@centurygame.com >
2024-06-24 07:21:49 +08:00
King
c226ea3f1f
修复打开DEBUG_LOG时,编译错误 ( #1922 )
2024-06-24 07:21:49 +08:00
华仔
45b407481d
fix socketchannel mem leakage ( #1921 )
2024-06-24 07:21:49 +08:00
Ikko Eltociear Ashimine
8f7e9cc823
docs: update README.md ( #1908 )
...
sumbit -> submit
2024-06-24 07:21:49 +08:00
Cloud Wu
89a821ced0
Avoid to use je_malloc_usable_size, See #1907
2024-06-24 07:21:31 +08:00
yzj12138
267e4ad44d
skynet使用原生error,防止给替换 ( #1906 )
...
Co-authored-by: xingfan.yzj <xingfan.yzj@alibaba-inc.com >
2024-05-09 18:06:47 +08:00
chengf2018
1a0041982b
fix annotation ( #1903 )
2024-04-24 10:16:17 +08:00
t0350
caf513e6c0
make task/uniqtask consistent ( #1902 )
2024-04-23 15:32:36 +08:00
华仔
18a6dc5786
typo rename faild to failed ( #1901 )
2024-04-10 13:51:03 +08:00
华仔
22df64244a
优化http出错抛出更详细的错误信息 ( #1900 )
...
* 优化http出错抛出更详细的错误信息
* 优化http err_info写法
2024-04-10 13:40:41 +08:00
yzj12138
1d47bfa0b6
session或者source为0时不回消息 ( #1897 )
...
Co-authored-by: xingfan.yzj <xingfan.yzj@alibaba-inc.com >
2024-04-09 10:01:46 +08:00
华仔
43225367fb
fix websocket客户端连接过程中握手失败导致内存泄漏 ( #1899 )
...
* fix word err
* fix word err
* 增加mongo update 测试
* remove unused local variable
* fix websocket客户端连接过程中握手失败导致内存泄漏
2024-04-08 16:36:11 +08:00
iamwlj
cde8f75d68
Update bootstrap.lua ( #1891 )
...
1. local var `harbor' not used
2.
`
local skynet = require "skynet"
require "skynet.manager"
`
can be simplified as `local skynet = require "skynet.manager"`
2024-03-18 22:54:39 +08:00
iamwlj
9fd43778e2
Update skynet_main.c ( #1890 )
...
Putting the relevant code together makes it easier to understand
2024-03-18 18:58:54 +08:00
iamwlj
72688f5771
Update msgserver.lua ( #1889 )
...
使用本地变量,不然本地变量`request_handler`未使用
2024-03-18 18:54:12 +08:00
zhuilang
3bbb62e673
Update mongo.lua ( #1884 )
2024-03-07 19:20:51 +08:00
zhuilang
c18f99eb7e
mongodb 查询增加 maxTimeMS ( #1882 )
...
* 查询增加 maxTimeMS
* Update mongo.lua
2024-03-07 10:13:22 +08:00
coldskycoldsky
bd5f12b959
fix: 当 mysql 数据库日期类型(timestamp, datetime)的字段,数据值没有 "时间部分(时分秒)" 时,比如 "2019-01-01" ( #1879 )
...
数据的长度是4(年2,月1, 日1),
而不是预期的7(年2,月1, 日1, 时1, 分1, 秒1)
2024-03-01 14:08:27 +08:00
emmanuel
267cf5384c
Update README.md ( #1870 )
2024-02-13 09:20:44 +08:00
zhuilang
6f24b08f02
mongo 支持 hint ( #1865 )
...
* mongo 支持 hint
mongodb查询有时不会命中最优索引,所以支持下 hint 使用
2024-02-02 15:58:57 +08:00
华仔
d0b11c7955
remove unused local variable ( #1864 )
...
* fix word err
* fix word err
* 增加mongo update 测试
* remove unused local variable
2024-01-31 10:57:26 +08:00
t0350
6bdc8b8608
bugfix, parsing http array form ( #1852 )
2024-01-12 18:10:36 +08:00
华仔
b309d82538
fix word err ( #1848 )
...
* fix word err
* fix word err
* 增加mongo update 测试
2024-01-06 16:38:14 +08:00
华仔
fb97668f9e
fix word err ( #1847 )
2024-01-03 20:05:28 +08:00
yzj12138
9e000da81f
修复执行skynet.exit后别的服务call有概率卡死 ( #1846 )
...
Co-authored-by: xingfan.yzj <xingfan.yzj@alibaba-inc.com >
2024-01-03 18:14:17 +08:00
Cloud Wu
d9c30f9119
fix #1845
2023-12-27 21:02:25 +08:00
robot
4030687400
在进行https握手时,会有小概率在进行密钥协商前,tcp流卡住,导至不能有效timeout行为 ( #1842 )
2023-12-20 13:07:38 +08:00
Zoro
1f93f4864f
fix write_handshake ( #1841 )
...
Signed-off-by: zorocn <mengzust@gmail.com >
2023-12-14 21:04:43 +08:00
子熏
e66e892ee5
fix read_handshake ( #1839 )
...
Co-authored-by: zixun <lb151450@alibaba-inc.com >
2023-12-13 11:53:08 +08:00
kuzhu
30d967ea05
add get_sender function to outside ( #1832 )
...
* add get_sender function to outside
目的是用sender结合skynet.select的超时特性,实现一个超时的cluster.call,所以希望这里能够把get_sender的接口加上
* Update cluster.lua
改为cluster.get_sender = get_sender
2023-12-04 16:28:30 +08:00
felove
4b0937cc19
修复mysql.execute的变长参数最后一个为nil时的NULL位图错误 ( #1829 )
...
Co-authored-by: wfl <felove_2008@qq.com >
2023-12-01 11:28:59 +08:00
zhuilang
89b47f9372
modify httpc.request ( #1823 )
...
* modify httpc.request
这样可能更好点
* modify httpc.request
2023-11-17 19:49:42 +08:00
zhuilang
6249062c2d
Update httpc.request ( #1822 )
2023-11-15 22:11:24 +08:00
Cloud Wu
8b5bbaabd9
Update lua version number
2023-11-13 15:17:02 +08:00
Cloud Wu
f97c72d341
Release 1.7.0
v1.7.0
2023-11-13 15:13:08 +08:00
shencyx
f7453973f8
避免 sharedata 误用大于32位数字做 key 时,可能导致程序崩溃 ( #1820 )
...
Co-authored-by: shencyx <yixin.cen@alibaba-inc.com >
2023-11-07 11:52:58 +08:00
ykxpb
0e6423484f
修复 openssl3 deprecated warning ERR_load_BIO_strings ( #1816 )
2023-10-30 18:15:27 +08:00
HYbutterfly
adf0cc5a6f
check enablessl == "true" ( #1815 )
2023-10-27 17:16:48 +08:00
Cloud Wu
5ec02a4a2c
Add a rare case
2023-09-28 20:15:29 +08:00
Cloud Wu
f3f7e725e8
check session == nil
2023-09-28 14:40:02 +08:00
云风
172278bc8f
check conflict ( #1798 )
...
* rewind check conflict
* Use auxsend instead of c.send
2023-09-28 13:48:35 +08:00
Cloud Wu
c178c398b9
don't report error when session == 0
2023-07-31 21:31:21 +08:00