We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible that the splunk-firehose-nozzle http client at:
https://github.com/cloudfoundry-community/splunk-firehose-nozzle/blob/031570d542440562bbe23e3444668e25e5b1a198/eventwriter/splunk.go#L34 [github.com]
could be modified to use the http.ProxyFromEnvironment reference, as shown here in another golang library used to communicate to Pivotal Network:
https://github.com/pivotal-cf/go-pivnet/issues/8 [github.com]
Basically, we are asking if this Snippet:
func NewSplunk(config *SplunkConfig) Writer { httpClient := cfhttp.NewClient() tr := &http.Transport{ TLSClientConfig: &tls.Config{InsecureSkipVerify: config.SkipSSL}, } httpClient.Transport = tr return &splunkClient{ httpClient: httpClient, config: config, } }
can be modified to use the http.ProxyFromEnvironment, similar to the following?
func NewSplunk(config *SplunkConfig) Writer { httpClient := cfhttp.NewClient() tr := &http.Transport{ TLSClientConfig: &tls.Config{InsecureSkipVerify: config.SkipSSL}, Proxy: http.ProxyFromEnvironment, } httpClient.Transport = tr return &splunkClient{ httpClient: httpClient, config: config, } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is it possible that the splunk-firehose-nozzle http client at:
https://github.com/cloudfoundry-community/splunk-firehose-nozzle/blob/031570d542440562bbe23e3444668e25e5b1a198/eventwriter/splunk.go#L34 [github.com]
could be modified to use the http.ProxyFromEnvironment reference, as shown here in another golang library used to communicate to Pivotal Network:
https://github.com/pivotal-cf/go-pivnet/issues/8 [github.com]
Basically, we are asking if this Snippet:
can be modified to use the http.ProxyFromEnvironment, similar to the following?
The text was updated successfully, but these errors were encountered: