Skip to content

Commit

Permalink
HTTP sessions tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
neilalexander committed Aug 19, 2021
1 parent ad88309 commit 21e3b39
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions sessions/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@ type HTTP struct {

func (q *Sessions) HTTP() *HTTP {
t := &http.Transport{
DisableKeepAlives: true,
Dial: q.Dial,
DialTLS: q.DialTLS,
DialContext: q.DialContext,
DialTLSContext: q.DialTLSContext,
DisableKeepAlives: true,
MaxIdleConnsPerHost: -1,
Dial: q.Dial,
DialTLS: q.DialTLS,
DialContext: q.DialContext,
DialTLSContext: q.DialTLSContext,
}

h := &HTTP{
Expand Down

0 comments on commit 21e3b39

Please sign in to comment.