colin
6ee8d23ac4
ssl request support sni(Server Name Indication) ( #1460 )
...
* ssl support sni(Server Name Indication)
* ssl support sni(Server Name Indication)
2021-08-23 16:54:01 +08:00
子熏
2bfecfceae
fix lua-seri rb_read ( #1427 )
...
Co-authored-by: zixun <lvzxiun@gmail.com >
2021-06-23 15:52:46 +08:00
colin
c2c585f73a
freebsd compile error ( #1414 )
2021-06-03 19:13:30 +08:00
Cloud Wu
71317d8502
Add socket.resolve, see #1398
2021-05-17 11:16:24 +08:00
蒋祥龙
28d47d96b9
1.修复前一个ssl错误没清,导致后面的正常ssl调用操作 获取到这个错误 ( #1401 )
2021-05-14 21:07:27 +08:00
Cloud Wu
f61a27ac6b
fix #1388
2021-04-19 18:45:56 +08:00
Cloud Wu
ceb278adf6
Add shutdown to client_socket for testing
2021-04-06 16:46:14 +08:00
云风
1a0461a9af
Halfclose ( #1338 )
...
* post SOCKET_CLOSE when HALFCLOSE_READ, see #1331
* Add closing status
* Add closing stat in info, See #1333
2021-02-03 16:49:40 +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
子熏
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
Cloud Wu
4d88f96ed6
bugfix: make proto shared
2020-12-18 19:20:15 +08:00
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