Skip to content

Commit

Permalink
Merge pull request #17 from codebien/use-state-dialer
Browse files Browse the repository at this point in the history
Use VU.State's Dialer
  • Loading branch information
phymbert authored Oct 13, 2024
2 parents 0abbe3e + b8416e8 commit 24eb520
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sse.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ func (mi *sse) open(ctx context.Context, state *lib.State,

httpClient := &http.Client{
Transport: &http.Transport{
DialContext: state.Dialer.DialContext,
Proxy: http.ProxyFromEnvironment,
TLSClientConfig: tlsConfig,
},
Expand Down

0 comments on commit 24eb520

Please sign in to comment.