Skip to content

Commit

Permalink
fix: add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
SputNikPlop authored Sep 12, 2023
1 parent a63a147 commit 1e7b72e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/events/trigger/forward_event.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ func ForwardEvent(p ForwardParamters) (*http.Response, error) {
}
}

// Twitch only supports IPv4 currently, so we will force this TCP connection to only use IPv4
var dialer net.Dialer
transport := http.DefaultTransport.(*http.Transport).Clone()
transport.DialContext = func (ctx context.Context, network, addr string) (net.Conn, error) {
Expand Down

0 comments on commit 1e7b72e

Please sign in to comment.