涵曦
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
Cloud Wu
2eea8be7ac
don't pause again
2020-10-15 18:00:25 +08:00
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