Commit Graph

13 Commits

Author SHA1 Message Date
hahahrfool
5661c8737f 添加readv功能;给出测试数据;修订代码,注释;
toml 新增 app.noreadv项,命令行参数新增 -readv

默认readv是打开状态,可以选择性关闭。
2022-03-22 14:12:32 +08:00
hahahrfool
e75860ef7a 添加ws的0-rtt支持;兼容xray/v2ray; 修订示例文件
earlydata 的最大长度 本作直接固定为2048长度。

配置文件格式:

extra = { ws_earlydata = true }
2022-03-22 02:31:47 +08:00
hahahrfool
60f055a68d fix minor bug; 修订文档,注释,代码 2022-03-21 08:52:46 +08:00
hahahrfool
89e3c8a4ed 添加导向某tag的dial的分流的支持;修订代码,文档,示例;
目前已经支持 ip,domain,network,country, inTags 这五种配置方式
2022-03-21 00:50:19 +08:00
hahahrfool
de8ecb8410 添加default_uuid配置;允许加载完整路径的其他位置的配置;
修订文档,代码。
2022-03-20 20:42:41 +08:00
hahahrfool
4da0075786 新增App.LogLevel 配置;修复 LogLevel的小bug;修订注释. 2022-03-20 19:36:25 +08:00
hahahrfool
250f6e8c5b 新增http代理Server端.修订代码,注释.CommonConf加了Extra字段
CommonConf加了这一行:Extra map[string]interface{} `toml:"extra"`

这样就可以兼容一切未来未知的格式了, 同时 proxy包的 ClientCreator和 ServerCreator接口
也相应改动了,不再需要传入 map.
2022-03-19 16:43:55 +08:00
hahahrfool
9518ee65ef 修订文档、注释; minor improve 2022-03-18 21:36:17 +08:00
hahahrfool
b48bc187b0 minor improve 2022-03-18 19:16:15 +08:00
hahahrfool
5cfe30d618 修订文档;取消使用go1.18语法 2022-03-18 00:09:20 +08:00
hahahrfool
6b53f3b03f 简单修订代码;从此commit开始,使用go1.18语法 2022-03-17 11:42:02 +08:00
hahahrfool
902b0d7d34 将所有的使用log的地方通通加上LogLevel的判断.
LogLevel在上个commit就已经被移动到了utils包.
2022-03-17 08:35:43 +08:00
hahahrfool
c9cf683a58 将common包改名为utils, 因为common太长了 2022-03-17 08:11:56 +08:00