From 972baee564a7422532fbab0ef348c2326a89daca Mon Sep 17 00:00:00 2001 From: WJQSERVER Date: Fri, 3 Jan 2025 18:45:25 +0800 Subject: [PATCH] 25w01d --- .gitignore | 4 +++- CHANGELOG.md | 5 +++++ DEV-VERSION | 2 +- proxy/proxy.go | 1 + 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index eee416a..3431fbc 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ -demo.toml \ No newline at end of file +demo.toml +dev +*.log \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f947c1..8e023cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # 更新日志 +25w01d +--- +- PRE-RELEASE: 此版本是v1.8.0的预发布版本,请勿在生产环境中使用 +- CHANGE: 尝试修复部分问题 + 25w01c --- - PRE-RELEASE: 此版本是v1.8.0的预发布版本,请勿在生产环境中使用 diff --git a/DEV-VERSION b/DEV-VERSION index 3fb0839..6cb0584 100644 --- a/DEV-VERSION +++ b/DEV-VERSION @@ -1 +1 @@ -25w01c \ No newline at end of file +25w01d \ No newline at end of file diff --git a/proxy/proxy.go b/proxy/proxy.go index 1704dc2..eeca0fa 100644 --- a/proxy/proxy.go +++ b/proxy/proxy.go @@ -179,6 +179,7 @@ func ProxyRequest(c *gin.Context, u string, cfg *config.Config, mode string, run // 发送HEAD请求, 预获取Content-Length headReq := client.R() setRequestHeaders(c, headReq) + authPassThrough(c, cfg, headReq) headResp, err := headReq.Head(u) if err != nil {