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

Fixing deletion of headers/queryargs having multiple values. #918

Merged
merged 1 commit into from
Nov 24, 2020

Conversation

anshul-jain-aws
Copy link
Contributor

In a HTTP Request Headers/QueryArgs can have multiple values for the same key. Currently delAllArgs doesn't delete all the headers/queryargs with the same key. This change fixes it by setting the index i to be checked next for deletion, correctly.

I have extracted relevant parts of code in playground to show the before and after changes.

@erikdubbelboer erikdubbelboer merged commit f710c2d into valyala:master Nov 24, 2020
@erikdubbelboer
Copy link
Collaborator

Thanks!

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