mirror of
https://github.com/tinygo-org/net.git
synced 2026-08-17 11:13:25 +00:00
update with changes from go1.20.5 to go1.21.4
This commit is contained in:
committed by
deadprogram
parent
be25e1a28e
commit
7c11b88ce6
+2
-2
@@ -1,4 +1,4 @@
|
||||
// TINYGO: The following is copied and modified from Go 1.20.5 official implementation.
|
||||
// TINYGO: The following is copied and modified from Go 1.21.4 official implementation.
|
||||
|
||||
// TINYGO: Removed trace stuff
|
||||
// TINYGO: Hook readTransfer is onEOF callback to get notified when request of
|
||||
@@ -409,7 +409,7 @@ func (t *transferWriter) doBodyCopy(dst io.Writer, src io.Reader) (n int64, err
|
||||
return
|
||||
}
|
||||
|
||||
// unwrapBodyReader unwraps the body's inner reader if it's a
|
||||
// unwrapBody unwraps the body's inner reader if it's a
|
||||
// nopCloser. This is to ensure that body writes sourced from local
|
||||
// files (*os.File types) are properly optimized.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user