removing redundant header

dev
Mzack9999 2020-10-29 23:42:10 +01:00
parent a824c3f17e
commit dae7717fbe
1 changed files with 0 additions and 1 deletions

View File

@ -278,7 +278,6 @@ func (r *BulkHTTPRequest) fillRequest(req *http.Request, values map[string]inter
// In case of multiple threads the underlying connection should remain open to allow reuse
if r.Threads <= 0 && req.Header.Get("Connection") == "" {
setHeader(req, "Connection", "close")
req.Close = true
}