aboutsummaryrefslogtreecommitdiff
path: root/streaming.go
diff options
context:
space:
mode:
authorGravatar Erik Dubbelboer <erik@dubbelboer.com> 2022-04-26 00:17:15 +0200
committerGravatar Erik Dubbelboer <erik@dubbelboer.com> 2022-04-26 00:45:51 +0200
commit7cc6f4c513f9e0d3686142e0a1a5aa2f76b3194a (patch)
tree3e6ef3f277e676ebccc38f6ebeccc1bd6b14afed /streaming.go
parentoptimize (#1275) (diff)
downloadfasthttp-7cc6f4c513f9e0d3686142e0a1a5aa2f76b3194a.tar.gz
fasthttp-7cc6f4c513f9e0d3686142e0a1a5aa2f76b3194a.tar.bz2
fasthttp-7cc6f4c513f9e0d3686142e0a1a5aa2f76b3194a.zip
Fix DoTimeout Streaming body bugv1.36.0
Diffstat (limited to 'streaming.go')
-rw-r--r--streaming.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/streaming.go b/streaming.go
index 11750a9..fc04916 100644
--- a/streaming.go
+++ b/streaming.go
@@ -98,6 +98,7 @@ func releaseRequestStream(rs *requestStream) {
rs.totalBytesRead = 0
rs.chunkLeft = 0
rs.reader = nil
+ rs.header = nil
requestStreamPool.Put(rs)
}