mirror of
https://github.com/gospider007/requests.git
synced 2025-12-24 13:57:52 +08:00
sync
This commit is contained in:
@@ -56,7 +56,9 @@ func (obj *CompressionConn) Write(b []byte) (n int, err error) {
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
err = obj.f.Flush()
|
||||
if obj.f != nil {
|
||||
err = obj.f.Flush()
|
||||
}
|
||||
return
|
||||
}
|
||||
func (obj *CompressionConn) Close() error {
|
||||
|
||||
Reference in New Issue
Block a user