Skip to content

Commit

Permalink
Not using context yet, support old Go http.Transport
Browse files Browse the repository at this point in the history
  • Loading branch information
srgoni committed Apr 12, 2017
1 parent 7ade302 commit 807884b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/restreamer/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ func NewClient(uris []string, queue chan<- Packet, timeout uint, reconnect uint,
}
transport := &http.Transport{
Proxy: http.ProxyFromEnvironment,
DialContext: dialer.DialContext,
Dial: dialer.Dial,
DisableKeepAlives: true,
TLSHandshakeTimeout: toduration,
ResponseHeaderTimeout: toduration,
Expand Down

0 comments on commit 807884b

Please sign in to comment.