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

instrumentation/urllib3: fix urllib3 2.0.1+ crash with many args #2002

Merged
merged 1 commit into from Mar 13, 2024

Conversation

xrmx
Copy link
Member

@xrmx xrmx commented Mar 12, 2024

What does this pull request do?

In c1dd69e we changed the logic of update_headers taking into account a new body arg before the one for headers.
The problem is that HTTPConnectionPool.urlopen did not change at all, only HTTPConnectionPool.request did so the old login update_headers was fine.

Related issues

Closes #1928

@github-actions github-actions bot added agent-python community Issues opened by the community triage Issues awaiting triage labels Mar 12, 2024
In c1dd69e we changed the logic of
update_headers taking into account a new body arg before the one for
headers.
The problem is that HTTPConnectionPool.urlopen did not change at all,
only HTTPConnectionPool.request did so the old login update_headers was
fine.

Fix elastic#1928
Copy link
Member

@pquentin pquentin left a comment

Choose a reason for hiding this comment

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

Thanks! LGTM.

@xrmx xrmx requested a review from trentm March 12, 2024 15:48
@xrmx xrmx merged commit fd550df into elastic:main Mar 13, 2024
96 checks passed
@tonyman19
Copy link
Contributor

@xrmx Good Evening! Have a question about who will create the release with bugfix that you introduced?

@xrmx
Copy link
Member Author

xrmx commented Mar 13, 2024

@tonyman19 need a couple more commits to get in and then I'll cut a new release

xrmx added a commit that referenced this pull request Mar 20, 2024
In c1dd69e we changed the logic of
update_headers taking into account a new body arg before the one for
headers.
The problem is that HTTPConnectionPool.urlopen did not change at all,
only HTTPConnectionPool.request did so the old login update_headers was
fine.

Fix #1928
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agent-python community Issues opened by the community triage Issues awaiting triage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AttributeError: 'Retry' object has no attribute 'copy'
4 participants