This commit is contained in:
gospider
2025-08-19 17:56:05 +08:00
parent d941aad1a2
commit 48f7cf8c15
9 changed files with 49 additions and 447 deletions

View File

@@ -215,7 +215,7 @@ func (obj *roundTripper) dial(ctx *Response) (conn http1.Conn, err error) {
rawConn = rawNetConn
}
if arch != "" {
rawConn, err = NewCompressionConn(rawConn, arch)
rawConn, err = tools.NewCompressionConn(rawConn, arch)
}
if err != nil {
if rawConn != nil {