huojicha
58774183a7
[httpc] 解决几个ipv6下面的请求规范的问题 ( #2149 )
...
* 按照RFC 3986的规范处理ipv6 host的格式化问题,ipv6地址需要用 []括起来
参考: https://www.rfc-editor.org/rfc/rfc3986#section-3.2.2
* 解决ipv6格式不对的问题
* 只有域名的情况下才 set_ext_host_name
2026-04-01 15:45:33 +08:00
huojicha
6f84247f1f
fix: improve hostname detection to support numeric-suffixed domains ( #2147 )
...
* fix: improve hostname detection to support numeric-suffixed domains
* 1.connect改为支持ipv6 2.check_protocol改为parse_url,语义更明确 3.解析域名时直接返回host_type
2026-03-30 20:47:15 +08:00
Weitao Liu
2ecf32ec73
Fix spell error ( #2098 )
2025-10-16 23:10:14 +08:00
huojicha
839570ce3f
1.提供支持ipv6的udp client和server接口, 可支持ipv6 ( #1967 )
...
* 1.提供支持ipv6的udp client和server接口, 可支持ipv6
* remove chinese comments
2024-08-08 02:34:15 +08:00
t0350
6bdc8b8608
bugfix, parsing http array form ( #1852 )
2024-01-12 18:10:36 +08:00
华仔
b309d82538
fix word err ( #1848 )
...
* fix word err
* fix word err
* 增加mongo update 测试
2024-01-06 16:38:14 +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
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
caiyiheng
013cb42122
feat: add mongo safe batch delete ( #1577 )
2022-04-15 16:20:00 +08:00
涵曦
ee103e97cd
Fix handle register when slot[0] is null will segmentation fault ( #1574 )
2022-04-13 22:36:47 +08:00
JTrancender
eaba8f969c
perf: add sharetable queryall default behavior(all share data) ( #1537 )
2022-02-16 11:22:59 +08:00
JTrancender
40ee98b40e
feat: add sharetable queryall ( #1536 )
...
Co-authored-by: Jason <jie-email@jie-trancender.org >
2022-02-15 21:01:54 +08:00
云风
54e733a76f
Request stream ( #1463 )
...
* split request/response
* stream api
* fix: global variable (#1464 )
* fix global variable
* fix global variable
* Add httpc.head
Co-authored-by: JTrancender <jie-email@jie-trancender.org >
2021-08-30 10:00:57 +08:00
JTrancender
fdc4b35281
feat: add mongo self batch insert ( #1456 )
...
* feat: add mongo self batch insert
* perf: add safe batch insert test
* perf: modify some words
2021-08-18 15:11:40 +08:00
t0350
1e6781bd41
add coroutine close for skynetco ( #1392 )
...
Co-authored-by: jietao.cjt <jietao.cjt@alibaba-inc.com >
2021-04-29 14:40:37 +08:00
hong
693b962b43
to-be-closed ( #1261 )
2020-12-01 11:51:35 +08:00
涵曦
84e600bed3
#855 add test runCommond for testmongodb ( #1255 )
2020-10-29 14:05:16 +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
Cloud Wu
280f0251da
Add traffic control for socket
2020-09-04 12:26:13 +08:00
Zhongyue Yue
b68b27f26b
mysql : 修复读写负数导致溢出处错误 ( #1182 ) ( #1183 )
...
* mysql : 修复读写负数导致溢出处错误 #1182
* modify mysql test cases
* 对于db内部整型值的处理使用独立函数
2020-04-25 19:26:27 +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
d94fbb6493
change mysql default charset
2020-04-15 10:41:28 +08:00
风---自由(fisherman)
7efa79906d
修改 mysql 测试用例
...
https://github.com/cloudwu/skynet/issues/1165
2020-03-29 06:36:42 +08:00
yxt945
672bdcf39f
增加mysql存贮过程和blob读写示例
2019-12-30 10:56:49 +08:00
冉朋
f2d3bc3e5c
测试单元
2019-12-17 20:06:18 +08:00
Hanlei Qin
3c7279a6b7
1. disambiguation: testdb --> testcoll (test collection)
...
2. let `c` as cllient, `db` as `c[db_name]`
3. clear up as lua-check
2019-12-10 12:54:59 +08:00
Hanlei Qin
b2e50c3bfa
fixed
2019-12-10 12:54:59 +08:00
Cloud Wu
41c66d1b20
add skynet.trace_timeout(on), see #1098
2019-10-22 16:11:36 +08:00
Cloud Wu
68e94b2792
add sharetable.loadtable
2019-06-10 15:11:51 +08:00
Cloud Wu
76b166f04a
Add new sharetable
2019-06-10 15:11:51 +08:00
drew.zxj
305a29d885
dns: parse /etc/hosts
2019-03-27 17:25:33 +08:00
Cloud Wu
45afa0fdcf
fix #965
2019-03-26 18:46:31 +08:00
Cloud Wu
bfbbe91efa
turn off ltls by default
2019-03-26 10:31:47 +08:00
zixun
7746193b5f
add https client and server support by bios
2019-03-14 10:36:02 +08:00
Naix
9e16b04a5b
dns reInit bug
...
recall dns.server()
false ./lualib/skynet/dns.lua:340: assertion failed!
2019-01-18 20:01:04 +08:00
sundream
02d5f4fbe9
rediscluster: support eval/evalshal + subscribe/publish
2018-09-27 10:00:30 +08:00
LiuYang
ce0cdc7bd3
add mongo test case: auth
2018-08-30 11:42:47 +08:00
LiuYang
8ce816de7f
fix mongodb testcase
2018-08-29 23:33:17 +08:00
Cloud Wu
e53d985c4f
add skynet.trace()
2018-05-26 16:26:50 +08:00
Cloud Wu
348e53245b
skynet.wait use token instead of coroutine.running()
2018-05-25 10:42:58 +08:00
Cloud Wu
2fde0a0ae4
log error when forget response a session. Add skynet.ignoreret()
2018-05-24 16:53:27 +08:00
Cloud Wu
7df13e922b
add testtimeout
2018-04-20 11:44:05 +08:00
Cloud Wu
6cdc1cf95c
collect used response, see #800
2018-02-04 16:25:19 +08:00
Cloud Wu
084aab4bcd
dns server auto retire
2018-01-25 15:56:47 +08:00
Cloud Wu
d6eb49e4eb
bson dictionary's key can't be number
2017-07-04 21:32:04 +08:00
hongl
5479848df6
service.lua可以在用一个服务中复用
2017-06-14 10:27:04 +08:00
Cloud Wu
6e36cf9940
add skynet.datasheet
2017-06-06 16:03:59 +08:00
sundream
2798c778c7
redis cluster client
2017-06-03 12:26:19 +08:00