Skip to content

Commit

Permalink
fix: GetHttpClient() returns incorrect client
Browse files Browse the repository at this point in the history
  • Loading branch information
ianchen0119 committed Jan 3, 2024
1 parent c59d259 commit eac6ed4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ var (
)

func GetHttpsClient() *http.Client {
return innerHTTP2CleartextClient
return innerHTTP2Client
}
func GetHttpClient() *http.Client {
return innerHTTP2Client
return innerHTTP2CleartextClient
}

type Configuration interface {
Expand Down

0 comments on commit eac6ed4

Please sign in to comment.