Commit Graph

336 Commits

Author SHA1 Message Date
Cloud Wu
ad06d232a6 This may fix #1268 2020-12-04 18:27:55 +08:00
t0350
c7dc8751c7 sync sproto weak type (#1259) 2020-11-14 21:36:58 +08:00
Cloud Wu
1dfddc0d84 add reading and writing into netstat 2020-10-16 13:06:01 +08:00
Cloud Wu
a87b039c6d use new lua userdata api 2020-10-10 19:19:33 +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
Cloud Wu
d3d5e3063a use luaL_buffinitsize 2020-08-11 14:08:25 +08:00
Cloud Wu
c8d0b1014d add a warning message 2020-08-10 16:54:15 +08:00
Cloud Wu
a4dc6b9094 add api skynet_socket_pause 2020-08-10 10:57:59 +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
子熏
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
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
Cloud Wu
2389772c73 add padding mode for DES, see #1179 2020-04-23 11:45:47 +08:00
Cloud Wu
d232af70f2 fix #1139 2019-12-25 17:58:03 +08:00
zixun
c075de7425 use SSL_CTX_use_certificate_chain_file instead of SSL_CTX_use_certificate_file 2019-12-23 19:25:39 +08:00
wudeng
b295b875c8 fix sharedata emptyslot 2019-11-29 15:11:33 +08:00
Cloud Wu
80d1082b42 bugfix 2019-11-14 10:49:25 +08:00
Cloud Wu
9d7ea09789 Add socket_sendbuffer 2019-11-14 10:49:25 +08:00
zixun
f17c17b8c7 fix match intern mt and stackvalues 2019-10-21 11:41:05 +08:00
zixun
8a1d7006eb fix match thread, table key 2019-10-21 11:41:05 +08:00
Cloud Wu
9193035767 Improve error message , see issue #1050 2019-07-01 20:26:53 +08:00
zixun
4fa1ba57cb add SSL_CTX_new error string 2019-06-27 15:37:13 +08:00
Cloud Wu
5d26fb3f18 remove ssm and add string id 2019-06-25 10:01:19 +08:00
Cloud Wu
5750b2d5ee Merge branch 'bugfix' 2019-06-17 09:57:11 +08:00
zixun
e9581adfc4 pass sharedtable match 2019-06-15 16:02:32 +08:00
Cloud Wu
6f0e88dc59 bugfix, See issue #1027 2019-06-15 00:37:42 +08:00
Cloud Wu
24b333a5e9 add api lua_sharestring 2019-06-13 20:01:10 +08:00
Cloud Wu
b45384cc9f short string in matrix should be in fixed set 2019-06-13 17:55:45 +08:00
Cloud Wu
7fed938593 mark all short string shared, see #1027 2019-06-13 16:58:57 +08:00
hong
fafc4cad34 do not makeshared to LUA_TSHRSTR 2019-06-10 15:11:51 +08:00
Cloud Wu
68e94b2792 add sharetable.loadtable 2019-06-10 15:11:51 +08:00
Cloud Wu
47d1047004 sweep garbage strings 2019-06-10 15:11:51 +08:00
Cloud Wu
76b166f04a Add new sharetable 2019-06-10 15:11:51 +08:00
Cloud Wu
2ceb642b5d rewrite SSM and clonefunction 2019-06-10 15:11:51 +08:00
zixun
2d6d2c75a4 fix BIO_read and BIO_write return 0 2019-05-22 18:30:44 +08:00
zixun
194940822e fix SSL_read and SSL_write return 0 2019-05-22 14:52:45 +08:00
zixun
be590cfa8c #1016 bugfix SSL_read and SSL_do_handshake 2019-05-21 22:24:37 +08:00
wudeng
35aa00fb13 Add jemalloc heap profilling in debug console 2019-05-01 20:37:48 +08:00
zixun
0c66252cd1 fix post with https 2019-03-26 21:31:36 +08:00
Cloud Wu
bfbbe91efa turn off ltls by default 2019-03-26 10:31:47 +08:00
Cloud Wu
eda9f771e6 Merge branch 'self_skynet' of https://github.com/lvzixun/skynet into lvzixun-self_skynet 2019-03-26 10:08:10 +08:00
zixun
7746193b5f add https client and server support by bios 2019-03-14 10:36:02 +08:00
Cloud Wu
1d4308f33a Fix memory leak, See #952 2019-03-06 00:19:51 +08:00
Cloud Wu
1422cae7fb Consider __pairs, see #942 2019-02-13 15:36:55 +08:00
Cloud Wu
6eb9b64f06 remove mysqlaux.c 2019-01-15 10:55:18 +08:00
Cloud Wu
7e57e498f6 remove dead_service table, address may reused 2018-10-08 15:44:12 +08:00
Cloud Wu
f8434d34b6 report last accept time 2018-09-07 16:26:56 +08:00