Cloud Wu
e241920949
enable read when closing
2020-10-15 17:34:44 +08:00
Cloud Wu
e669913b2a
log debug console client ip
2020-10-14 17:10:29 +08:00
Cloud Wu
55f207c1d2
fix debug console command : kill
2020-10-14 16:24:04 +08:00
Cloud Wu
b6354a0490
Add skynet.killthread() and debugcommand killtask
2020-10-14 14:12:29 +08:00
Cloud Wu
064e61d40f
debug GC and socket.resume should wait for message queue
2020-10-14 11:12:13 +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
Cloud Wu
471c7d1101
add socket.pause
2020-10-12 16:12:01 +08:00
Cloud Wu
a87b039c6d
use new lua userdata api
2020-10-10 19:19:33 +08:00
Cloud Wu
623d8182eb
fix #1246
2020-10-10 18:04:20 +08:00
Cloud Wu
992fd028f0
remove global buffer_pool
2020-10-10 17:01:13 +08:00
Cloud Wu
299d12e1cd
Update history
2020-10-10 14:06:57 +08:00
Cloud Wu
4484c1ed50
Add map for sproto
2020-10-10 13:55:15 +08:00
云风
eaa60ca8dd
Update to lua 5.4 ( #1174 )
...
* update to lua 5.4.0-rc1
* remove LUA_ERRGCMM
* use age bits for shared
* remove unused lbitlib.c
* use luaV_fastget
* fix #1174
* suspend函数tailcall优化
* 防止没有session导致未调用suspend
* luaH_setint check shared (#1184 )
* set LUA_GCGEN by default
* fix #1174 (#1186 )
checkshared in sweeplist
* update to lua 5.4 rc2
* update to lua 5.4 rc4
* move skynet.profile into snlua
* Use lua_sethook to interrupt tight loops
* remove lua_checksig
* critical condition for signals
* update to lua 5.4 released
* lua 5.4 bugfix
* update lua bugfix
* fix lua_sharestring (#1224 )
* update lua
* update lua 5.4
* update README
* add skynet.select
* add test
* test error & discard
* yield session
* request error has no error message
* add timeout to skynet.select
* bugfix
* for lua 5.4
* new version
* bugfix
* bugfix
* use if instead of while
* make local
* yield in select for
* update lua 5.4.1
* change lua version (#1245 )
Co-authored-by: xiaojin <xiaojin@onemt.com.cn >
* update lua version number
Co-authored-by: hong <hongling0@gmail.com >
Co-authored-by: hong <hongling-0@qq.com >
Co-authored-by: 风---自由 <996442717qqcom@gmail.com >
Co-authored-by: xiaojin <xiaojin@onemt.com.cn >
2020-10-10 13:36:59 +08:00
Whislly
eef2b1fc62
增加一个指定数据类型为int64的方法 ( #1241 )
...
* Update lua-bson.c
* 增加一个指定数据类型为int64的方法
* 修改一些类型错误
* Invalid date -> Invalid int64
2020-09-15 15:12:44 +08:00
Fanrncho
a4c31ac64e
Update internal.lua ( #1237 )
...
修正小错误。
2020-09-07 13:13:48 +08:00
Cloud Wu
280f0251da
Add traffic control for socket
2020-09-04 12:26:13 +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
ce52533c74
remove time()
2020-08-11 16:32:22 +08:00
Cloud Wu
d3d5e3063a
use luaL_buffinitsize
2020-08-11 14:08:25 +08:00
Cloud Wu
3025e4765a
csec
2020-08-11 11:50:45 +08:00
Cloud Wu
446dafdc0b
use skynet_now for timestamp
2020-08-11 11:47:33 +08:00
Cloud Wu
c7386fe768
open log file in append mode
2020-08-11 10:54:40 +08:00
Cloud Wu
d80ed7483d
add timestamp for logging to file
2020-08-11 10:32:46 +08:00
Cloud Wu
c8d0b1014d
add a warning message
2020-08-10 16:54:15 +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
子熏
c35c8f173b
#1229 fix sharetable update ( #1230 )
...
Co-authored-by: zixun <lvzxiun@gmail.com >
2020-08-07 16:46:49 +08:00
冉朋
ddedffc753
mysql预处理执行支持nil参数,nil==NULL ( #1228 )
2020-08-06 08:42:03 +08:00
子熏
44485b195c
update sproto double array ( #1227 )
...
Co-authored-by: zixun <lvzxiun@gmail.com >
2020-08-03 22:54:04 +08:00
hong
950389599d
错误数据有可能导致死循环 ( #1225 )
2020-07-29 07:13:57 +08:00
Cloud Wu
c749b13010
Revert "srv may be a local name, see #1220 "
...
This reverts commit 875b7683c6 .
2020-07-28 16:13:05 +08:00
Cloud Wu
875b7683c6
srv may be a local name, see #1220
2020-07-28 15:59:00 +08:00
子熏
bfc19ee7b9
add sproto double type ( #1221 )
...
Co-authored-by: zixun <lvzxiun@gmail.com >
2020-07-27 17:57:55 +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
子熏
693176efc8
优化sharetable更新 ( #1208 )
...
Co-authored-by: zixun <lb151450@alibaba-inc.com >
2020-06-24 16:25:50 +08:00
wudeng
435aa384c8
fix sproto write_ff buffer overflow ( #1205 )
...
* bugfix , see #1205
* fix bug
Co-authored-by: Cloud Wu <cloudwu@gmail.com >
2020-06-19 16:19:49 +08:00
Fanrncho
9f86498872
Update socket.lua ( #1197 )
...
如果监听套接字在accept时异常(例如:errno == EMFILE),那么不应该关闭监听套接字本身,输出异常信息即可。
2020-06-03 20:44:22 +08:00
Cloud Wu
1f22216d7c
fix #1188
2020-05-12 11:58:34 +08:00
Zhongyue Yue
b68b27f26b
mysql : 修复读写负数导致溢出处错误 ( #1182 ) ( #1183 )
...
* mysql : 修复读写负数导致溢出处错误 #1182
* modify mysql test cases
* 对于db内部整型值的处理使用独立函数
2020-04-25 19:26:27 +08:00
yxt945
87cde31c28
mysql : 修复读写负数导致溢出处错误 ( #1182 )
...
* mysql : 修复读写负数导致益处错误
* 注释增加字段类型 _binary_parser 参考 enum_field_types
2020-04-23 17:56:35 +08:00
Bruce
949d943c32
DES crypt use standard padding mode PKCS7 ( #1179 )
...
* DES crypt use standard padding PKCS7
* add more desencode(pkcs7 padding mode) test case
2020-04-23 15:19:57 +08:00
Cloud Wu
2389772c73
add padding mode for DES, see #1179
2020-04-23 11:45:47 +08:00
风---自由
22f25bad55
format.
2020-04-15 10:41:28 +08:00
xiaojin
9222ff8d7a
del charset todo
2020-04-15 10:41:28 +08:00
xiaojin
d94fbb6493
change mysql default charset
2020-04-15 10:41:28 +08:00
xiaojin
98434708c4
add support for charset encoding
2020-04-15 10:41:28 +08:00