Skip to content

Commit

Permalink
Merge pull request #157 from devopsfaith/client_timeout
Browse files Browse the repository at this point in the history
default http client timeout removed
  • Loading branch information
kpacha authored Oct 1, 2018
2 parents 5aca938 + e4aab16 commit 95c06d9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions proxy/http_executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package proxy
import (
"context"
"net/http"
"time"
)

// HTTPRequestExecutor defines the interface of the request executor for the HTTP transport protocol
Expand All @@ -22,4 +21,4 @@ type HTTPClientFactory func(ctx context.Context) *http.Client
// NewHTTPClient just returns the http default client
func NewHTTPClient(ctx context.Context) *http.Client { return defaultHTTPClient }

var defaultHTTPClient = &http.Client{Timeout: 15 * time.Second}
var defaultHTTPClient = &http.Client{}

0 comments on commit 95c06d9

Please sign in to comment.