diff options
author | Tolyar <Tolyar@users.noreply.github.com> | 2021-12-26 16:08:23 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-26 21:08:23 +0800 |
commit | 6c0518b89a81418033490dd3368bc30ec720f2b9 (patch) | |
tree | d7f1d39fd39a2c5d1f96e7e99e5ea4789d2ae2a5 /http.go | |
parent | Add MaxIdleWorkerDuration to Server. (#1183) (diff) | |
download | fasthttp-6c0518b89a81418033490dd3368bc30ec720f2b9.tar.gz fasthttp-6c0518b89a81418033490dd3368bc30ec720f2b9.tar.bz2 fasthttp-6c0518b89a81418033490dd3368bc30ec720f2b9.zip |
Fix UseHostHeader for DoTimeout + tests (#1184)
Diffstat (limited to 'http.go')
-rw-r--r-- | http.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -732,6 +732,8 @@ func (req *Request) copyToSkipBody(dst *Request) { dst.parsedPostArgs = req.parsedPostArgs dst.isTLS = req.isTLS + dst.UseHostHeader = req.UseHostHeader + // do not copy multipartForm - it will be automatically // re-created on the first call to MultipartForm. } |