mirror of
https://github.com/gospider007/requests.git
synced 2025-12-24 13:57:52 +08:00
sync
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user