更新订阅服务后,SplitHTTP 路径为空
更新完订阅服务后,SplitHTTP 路径一栏没有内容,请大佬看看是不是有bug需要修复一下呢?订阅地址的格式没问题,在v2ray和passwall里面都能正确识别。
无该类订阅类链接,可否邮件提供一个订阅链接我测试一下,我来修改它。
vless://[email protected]:443?encryption=none&security=tls&pbk=YOwK8sDJPwbpHljXJIKoOmXwIL-w6J8cb7xxINMaKm4&sid=e17f60d1cd385f5b&spx=%2Fjdf0gfc&type=splithttp&path=%2Fpath#TestLink
格式如上
不好意思,今天太晚,明天我看看能否修一下。
谢谢大佬
有两个path的原因是path值我设的就是"/path"
有两个path的原因是path值我设的就是"/path"
感觉你这个订阅链接有问题,v2rayN和ssrp导入的都不一样,你确定passwll导入正常吗?能否贴出passwall的导入结果?但ssrp如果把订阅链接取消tls就可以导入。
passwall导入正常呢,这个格式是通过v2rayN导出的
ssrp也可以导入,但是请看导入进去就是SplitHTTP 路径一栏是空的
V2rayN导出的就是这样呢:
vless://[email protected]:443?encryption=none&security=tls&pbk=YOwK8sDJPwbpHljXJIKoOmXwIL-w6J8cb7xxINMaKm4&sid=e17f60d1cd385f5b&spx=%2Fjdf0gfc&type=splithttp&path=%2Fpath#TestLink
V2rayN导出的就是这样呢:
vless://[email protected]:443?encryption=none&security=tls&pbk=YOwK8sDJPwbpHljXJIKoOmXwIL-w6J8cb7xxINMaKm4&sid=e17f60d1cd385f5b&spx=%2Fjdf0gfc&type=splithttp&path=%2Fpath#TestLink
1、我改了一下,去掉&security=tls就可以转换为路径,不仅仅是splithttp,ws、h2都是这个情况。。。,现在是只要有tls就不能显示路径,路径只能在无tls情况下显示,正好与需求相反。。。 2、我用订阅转换,无法转换你这个订阅,还是怀疑这个订阅链接有问题。
谢谢大佬
@wekingchen 问题应该已经解决了,见我提交的PR(总共修改了4个文件):
https://github.com/fw876/helloworld/pull/1538
@wekingchen 我的pr大屌大佬已合并,现在可以正常导入配置了。
谢谢大佬,我现在卡在toolchain/gcc切换到12后固件编译报错上了,等搞定再试试
谢谢大佬,我现在卡在toolchain/gcc切换到12后固件编译报错上了,等搞定再试试
12是啥东西?gcc版本吗?
是的,lede昨天升级到12之后老是编译不过去
是的,lede昨天升级到12之后老是编译不过去
应该是不可能编译不了,clean后再编译试试。
https://github.com/coolsnowwolf/lede/issues/12462 https://github.com/coolsnowwolf/lede/issues/12464 好多人都有同样的问题,可能需要大屌大佬看看了
@wekingchen
添加这个补丁应该可以解决你的问题。新建补丁名字:002-Support-POSIX-basename-from-musl-libc.patch,然后把这些代码复制粘贴进去即可。我已在大屌的仓库提了PR,见: https://github.com/coolsnowwolf/packages/pull/848 ,你可以试试。
wget下载:wget https://raw.githubusercontent.com/zxlhhyccc/packages/refs/heads/patch-5/utils/tini/patches/002-Support-POSIX-basename-from-musl-libc.patch
补丁放到:feeds/packages/utils/tini/patches/ 目录下。
action编译的话加上一行代码即可。。。。
wget -P ./feeds/packages/utils/tini/patches/ https://raw.githubusercontent.com/zxlhhyccc/packages/refs/heads/patch-5/utils/tini/patches/002-Support-POSIX-basename-from-musl-libc.patch
--- a/src/tini.c
+++ b/src/tini.c
@@ -14,6 +14,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <stdbool.h>
+#include <libgen.h>
#include "tiniConfig.h"
#include "tiniLicense.h"
@@ -224,14 +225,19 @@ int spawn(const signal_configuration_t*
}
void print_usage(char* const name, FILE* const file) {
- fprintf(file, "%s (%s)\n", basename(name), TINI_VERSION_STRING);
+ char *dirc, *bname;
+
+ dirc = strdup(name);
+ bname = basename(dirc);
+
+ fprintf(file, "%s (%s)\n", bname, TINI_VERSION_STRING);
#if TINI_MINIMAL
- fprintf(file, "Usage: %s PROGRAM [ARGS] | --version\n\n", basename(name));
+ fprintf(file, "Usage: %s PROGRAM [ARGS] | --version\n\n", bname);
#else
- fprintf(file, "Usage: %s [OPTIONS] PROGRAM -- [ARGS] | --version\n\n", basename(name));
+ fprintf(file, "Usage: %s [OPTIONS] PROGRAM -- [ARGS] | --version\n\n", bname);
#endif
- fprintf(file, "Execute a program under the supervision of a valid init process (%s)\n\n", basename(name));
+ fprintf(file, "Execute a program under the supervision of a valid init process (%s)\n\n", bname);
fprintf(file, "Command line options:\n\n");
@@ -261,6 +267,7 @@ void print_usage(char* const name, FILE*
fprintf(file, " %s: Send signals to the child's process group.\n", KILL_PROCESS_GROUP_GROUP_ENV_VAR);
fprintf(file, "\n");
+ free(dirc);
}
void print_license(FILE* const file) {
可以了,感谢大佬的帮助
可以了,感谢大佬的帮助
订阅正常了么?
嗯嗯,正常了,感谢!