Skip to content

feat: Honor no_proxy env variable #3412

New issue

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

Merged
merged 2 commits into from
Apr 21, 2021
Merged

feat: Honor no_proxy env variable #3412

merged 2 commits into from
Apr 21, 2021

Conversation

kamilogorek
Copy link
Contributor

@kamilogorek kamilogorek requested review from a team, lobsterkatie and iker-barriocanal and removed request for a team April 19, 2021 09:55
@github-actions
Copy link
Contributor

github-actions bot commented Apr 19, 2021

size-limit report

Path Size
@sentry/browser - CDN Bundle (gzipped) 20.6 KB (-0.01% 🔽)
@sentry/browser - Webpack 21.48 KB (0%)
@sentry/react - Webpack 21.52 KB (0%)
@sentry/browser + @sentry/tracing - CDN Bundle (gzipped) 27.82 KB (-0.01% 🔽)

@@ -70,6 +70,26 @@ export abstract class BaseTransport implements Transport {
return this._buffer.drain(timeout);
}

/** Extracts proxy settings from client options and env variables */
Copy link
Contributor

@iker-barriocanal iker-barriocanal Apr 21, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we include in the docstring that if HTTP proxy is not found, it looks for the HTTPS proxy?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

@kamilogorek kamilogorek merged commit c91b32c into master Apr 21, 2021
@kamilogorek kamilogorek deleted the node-no-proxy branch April 21, 2021 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

@sentry/node doesn't respect NO_PROXY environment variable
2 participants