Skip to content

Commit f5fdde4

Browse files
authored
fix: disable default proxy when proxy is not enabled (#91)
* fix: don't enable default http_proxy by default * chore: update release notes
1 parent 377b93a commit f5fdde4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

core/api/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ func init() {
346346
panic(err)
347347
}
348348

349-
if clientCfg.Proxy.OverrideSystemProxy {
349+
if clientCfg.Proxy.Enabled&& clientCfg.Proxy.OverrideSystemProxy {
350350
log.Debugf("override system proxy settings: %v %s", util.MustToJSON(clientCfg.Proxy.DefaultProxyConfig))
351351
UpdateProxyEnvironment(&clientCfg.Proxy.DefaultProxyConfig)
352352
}

docs/content.en/docs/release-notes/_index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ Information about release notes of INFINI Framework is provided here.
1818

1919
### Bug fix
2020
- Fixed comsumer segment without producer (#89)
21+
- Disable default proxy when proxy is not enabled #91
22+
2123

2224
### Improvements
2325
- Structure http error response (#86)

0 commit comments

Comments
 (0)