Commit Graph

2136 Commits

Author SHA1 Message Date
Cloud Wu
58b1bda0d9 first key can't can be in hash part, see #1484 2022-11-21 19:26:16 +08:00
Cloud Wu
98311b9b91 release 1.6.0 v1.6.0 2022-11-16 10:46:35 +08:00
Cloud Wu
499610965a Update lua 2022-11-16 10:28:38 +08:00
Cloud Wu
94a76269aa Fix #1668 2022-10-27 15:30:06 +08:00
learno
ae35b3c4e8 bugfix: mongo getMore command field batchSize cannot replace with limit (#1666) 2022-10-19 17:04:49 +08:00
子云
1a1d8abd2e read 'x-real-ip' header from nginx in websocket lib. (#1665)
* read 'x-real-ip' header from nginx in websocket lib.

* change default real_ip value to nil
2022-10-17 19:29:33 +08:00
samoyedsun
feeda06e9d fix annotation (#1655) 2022-09-27 10:54:22 +08:00
ykxpb
bc4800f326 修复 mongo 游标没有数据 hasNext 返回 true,以及无效关闭游标的问题 (#1653)
Co-authored-by: yy151474 <yy151474@alibaba-inc.com>
2022-09-24 08:41:37 +08:00
ykxpb
ccfdc9440a Revert lua makefile of "update lua" (#1652)
This reverts commit dfc706615e.

Co-authored-by: yy151474 <yy151474@alibaba-inc.com>
2022-09-22 14:51:04 +08:00
ykxpb
182a1a8d56 修复 mongo 编译告警,删除 unused function (#1650)
Co-authored-by: yy151474 <yy151474@alibaba-inc.com>
2022-09-20 22:20:14 +08:00
ykxpb
44e2583dc2 mongodb 交互协议调整为 OP_MSG (#1649)
* mongodb 交互协议调整为 OP_MSG

* Update

Co-authored-by: yy151474 <yy151474@alibaba-inc.com>
2022-09-20 10:56:33 +08:00
Cloud Wu
7b76bcd039 cluster.open(0) returns addr, port 2022-09-04 15:42:59 +08:00
Cloud Wu
2d5e4ae528 cluster.open returns addr, port 2022-09-04 14:32:31 +08:00
Cloud Wu
b61daaccf1 watchdog returns addr,port 2022-09-04 14:22:13 +08:00
Cloud Wu
01314de8e1 Add assert 2022-09-04 00:20:38 +08:00
Cloud Wu
c8197328a4 socket.listen returns addr,port 2022-09-04 00:13:49 +08:00
Cloud Wu
800a3376d6 Revert "Update the return values of socket.listen, also return the real port bind to zero (#1638)"
This reverts commit c1eeba215d.
2022-09-03 22:03:11 +08:00
Cloud Wu
6dda5f7f98 Revert "udp socket bugfix (#1640)"
This reverts commit 2a8c095e38.
2022-09-03 22:02:45 +08:00
CKT
2a8c095e38 udp socket bugfix (#1640)
Co-authored-by: chenkete <kete.chen@centurygame.com>
2022-09-03 20:51:19 +08:00
caiyiheng
01b5d67b11 Update .gitignore (#1639) 2022-09-03 13:45:22 +08:00
zaxbbun
c1eeba215d Update the return values of socket.listen, also return the real port bind to zero (#1638) 2022-09-03 07:19:03 +08:00
Cloud Wu
6bd6f53ab8 update lua 2022-08-25 15:14:01 +08:00
Cloud Wu
dfc706615e update lua 2022-08-25 11:51:58 +08:00
云风
8efad53631 Emfile (#1626)
* Close the connection when EMFILE, See #1625

* close reserve_fd
2022-08-17 13:12:51 +08:00
yfy
0c1491ba99 修复https读取数据返回0报错 (#1622)
* 修复https读取数据返回0报错

./skynet/lualib/skynet.lua:861: ./skynet/lualib/skynet.lua:333: ./skynet/lualib/http/httpc.lua:109: ./skynet/lualib/http/tlshelper.lua:54: SSL_read error:6
stack traceback:
        [C]: in function 'error'
        ./skynet/lualib/http/httpc.lua:109: in function 'http.httpc.request'

* http请求header中host头修改为默认的Host名字
2022-08-06 06:05:09 +08:00
yfy
1b54306509 http请求头host字段改为Host (#1623) 2022-08-05 10:02:11 +08:00
fanyh
3911e0738b 修改clusterd node closed 后再次命中__index 会继续触发 call changenode (#1614) 2022-06-20 20:06:08 +08:00
dxb218
fad27d7775 Update interface.lua (#1612)
string.format语法错误
2022-06-11 20:22:22 +08:00
Cloud Wu
e98378e874 Fix #1609 2022-06-09 08:05:26 +08:00
子熏
389146167f export queryproto (#1605)
Co-authored-by: zixun <lb151450@alibaba-inc.com>
2022-05-30 23:18:08 +08:00
Cloud Wu
73c0e306cf update jemalloc 5.3.0 2022-05-09 10:41:58 +08:00
云风
6d86016247 Update issue templates 2022-04-27 16:25:06 +08:00
云风
acefd8de27 Update issue templates 2022-04-27 16:24:27 +08:00
涵曦
448fe14b9e fix comment: profile default is on. (#1581) 2022-04-22 16:35:46 +08:00
涵曦
341b7924a0 remove unused function skynet_module_insert #1579 (#1580) 2022-04-20 17:18:23 +08:00
caiyiheng
013cb42122 feat: add mongo safe batch delete (#1577) 2022-04-15 16:20:00 +08:00
Cloud Wu
bcd012f9cf uintptr_t need stdint.h 2022-04-15 10:57:37 +08:00
Cloud Wu
c4da547259 fix retireall, see #1576 2022-04-15 08:19:20 +08:00
IAN.Z
6ad379b7a7 feat: add mongo safe batch update (#1575)
Co-authored-by: zhuyin.zhu <zhuyin.zhu@alibaba-inc.com>
2022-04-14 12:35:54 +08:00
涵曦
ee103e97cd Fix handle register when slot[0] is null will segmentation fault (#1574) 2022-04-13 22:36:47 +08:00
云风
e37eb3cba0 Callback (#1571)
* Use independent thread for callback

* bugfix: use new cb_ctx when changing callback
2022-04-12 11:11:08 +08:00
Cloud Wu
0ddd938400 Clear callback function in main thread 2022-04-12 10:08:07 +08:00
涵曦
2d42adb739 fix typo: remove duplicate include (#1570) 2022-04-10 15:35:46 +08:00
Bruce
9fd7a51b34 Compat lua compile as cpp (#1568)
* Compat lua compile as cpp

* Compat lua compile as cpp
2022-04-07 17:22:32 +08:00
Cloud Wu
2660b10442 fix #1567 2022-04-07 15:19:53 +08:00
coder
969d3291b6 删除无用forwarding数据 (#1565) 2022-04-02 19:30:46 +08:00
coder
c84f7354ff 删除多余snlua定义 (#1564) 2022-04-02 16:06:04 +08:00
JTrancender
b555aa19e7 feat: add cluster.unregister (#1563) 2022-04-02 12:17:47 +08:00
liaodaiguo123
f72573a2aa base64:To improve compatibility, there may not be enough equal signs (#1561) 2022-03-31 18:57:03 +08:00
caiyiheng
bee8a0e731 update lpeg to 1.0.2 (#1557) 2022-03-29 16:16:51 +08:00