- Notifications
You must be signed in to change notification settings - Fork13.3k
Fix reuse for different URIs in HTTPClient::begin#8466
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Uh oh!
There was an error while loading.Please reload this page.
d-a-v left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Looks good!
paulocsanz commentedMar 30, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Let's merge this then! I haven't had time to test this deeply and it doesn't seem to fix all problems from the issue, but it's probably useful the way it is. I removed the draft tag. |
Fixes#8331
The problem is that
_canReusewas not reset in begin, like inHTTPClient::setURL.Ideally begin should not be called twice if the client hasn't changed, but it may happen, better safe than sorry.