Skip to content
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

Remove references to patched version of net/http #143

Merged
merged 1 commit into from
Jan 7, 2021

Conversation

marcparadise
Copy link
Member

This follows up on the previous commit which was merged a little too
soon.

The net/http monkeypatch was removed from chef when
b58460543a03e5e317637315b647d7ed74f0380f was merged
via chef/chef#10548

This means request data is no longer available in Net::HTTPException.
There's no option to get it back short of a new monkeypatch
to inject at origin, which is what we just removed in chef 16.

This change change removes our usage of it in chef-cli.
Exception inspector will no longer
no longer provide request data in its output for net/http exceptions.

Also patched up a couple of places where we referred to Net::
constants without requiring them first.

Signed-off-by: Marc A. Paradise marc.paradise@gmail.com

This follows up on the previous commit which was merged a little too
soon.

The net/http monkeypatch was removed from chef when
b58460543a03e5e317637315b647d7ed74f0380f was merged
via chef/chef#10548

This means request data is no longer available in Net::HTTPException.
There's no option to get it back short of a new monkeypatch
to inject at origin, which is what we just removed in chef 16.

This change change removes our usage of it in chef-cli.
This means that exception inspector will no longer
no longer provide request data in its output for net/http exceptions.

Also patched up a couple of places where we referred to Net::
constants without requiring them first.

Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
@marcparadise marcparadise requested review from a team as code owners January 7, 2021 21:19
@tas50 tas50 merged commit b462135 into master Jan 7, 2021
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.

2 participants