diff options
author | Tolyar <Tolyar@users.noreply.github.com> | 2021-12-28 14:26:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-28 19:26:04 +0800 |
commit | c727b9981b525bcf6fa77d93418c5a0849d6c55a (patch) | |
tree | 4583f52cebe5f9683051dc588c92ad263be09c0c /http.go | |
parent | Fix UseHostHeader for DoTimeout + tests (#1184) (diff) | |
download | fasthttp-c727b9981b525bcf6fa77d93418c5a0849d6c55a.tar.gz fasthttp-c727b9981b525bcf6fa77d93418c5a0849d6c55a.tar.bz2 fasthttp-c727b9981b525bcf6fa77d93418c5a0849d6c55a.zip |
Release UseHostHeader in ReleaseRequest() (#1185)
* Fix UseHostHeader for DoTimeout + tests
* Release UseHostHeader in ReleaseRequest() + tests
Diffstat (limited to 'http.go')
-rw-r--r-- | http.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -960,6 +960,7 @@ func (req *Request) Reset() { req.Header.Reset() req.resetSkipHeader() req.timeout = 0 + req.UseHostHeader = false } func (req *Request) resetSkipHeader() { |