diff --git a/CHANGELOG.md b/CHANGELOG.md index ad64a94..7fd3f06 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # 更新日志 +2.4.2 - 2025-03-14 +--- +- CHANGE: 在GitClone Cache模式下, 相关请求会使用独立httpc client +- CHANGE: 为GitClone Cache的独立httpc client增加ForceH2C选项 +- FIX: 修正GitClone Cache模式下的Url生成问题 + 25w18a - 2025-03-14 --- - PRE-RELEASE: 此版本是v2.4.2的预发布版本,请勿在生产环境中使用; diff --git a/README.md b/README.md index 4661164..b28b954 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,7 @@ maxConnsPerHost = 0 # only for advanced mode 仅用于高级模式 [gitclone] mode = "bypass" # bypass / cache 运行模式, cache模式依赖smart-git smartGitAddr = "http://127.0.0.1:8080" # smart-git组件地址 -ForceH2C = true # 强制使用H2C连接 +ForceH2C = false # 强制使用H2C连接 [pages] mode = "internal" # "internal" or "external" 内部/外部 前端 默认内部 diff --git a/VERSION b/VERSION index 58073ef..acdc3f1 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.4.1 \ No newline at end of file +2.4.2 \ No newline at end of file diff --git a/config/config.toml b/config/config.toml index 31d276b..b539ce0 100644 --- a/config/config.toml +++ b/config/config.toml @@ -15,7 +15,7 @@ maxConnsPerHost = 0 # only for advanced mode [gitclone] mode = "bypass" # bypass / cache smartGitAddr = "http://127.0.0.1:8080" -ForceH2C = true +ForceH2C = false [pages] mode = "internal" # "internal" or "external" diff --git a/deploy/config.toml b/deploy/config.toml index e61fdd0..ff41325 100644 --- a/deploy/config.toml +++ b/deploy/config.toml @@ -15,6 +15,7 @@ maxConnsPerHost = 0 # only for advanced mode [gitclone] mode = "bypass" # bypass / cache smartGitAddr = "http://127.0.0.1:8080" +ForceH2C = false [pages] mode = "internal" # "internal" or "external"