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

chore: fix http parsing in case a full request was not sent #243

Merged
merged 1 commit into from
Apr 8, 2024
Merged

Conversation

romange
Copy link
Owner

@romange romange commented Apr 8, 2024

No description provided.

@romange romange requested a review from chakaz April 8, 2024 07:12
Signed-off-by: Roman Gershman <roman@dragonflydb.io>
romange added a commit to dragonflydb/dragonfly that referenced this pull request Apr 8, 2024
…c auth

And thanks to @sunneydev for finding the bug and providing the tests.
The tests actually uncovered another bug where we may parse partial http requests.
This one is handled by romange/helio#243

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
util/http/http_handler.cc Show resolved Hide resolved
@romange romange merged commit f76c73f into master Apr 8, 2024
5 checks passed
@romange romange deleted the Pr1 branch April 8, 2024 09:44
romange added a commit to dragonflydb/dragonfly that referenced this pull request Apr 8, 2024
The assumption is that basic-auth already covers the authentication part.
And thanks to @sunneydev for finding the bug and providing the tests.
The tests actually uncovered another bug where we may parse partial http requests.
This one is handled by romange/helio#243

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
romange added a commit to dragonflydb/dragonfly that referenced this pull request Apr 8, 2024
fix: authorize the http connection to call DF commands

The assumption is that basic-auth already covers the authentication part.
And thanks to @sunneydev for finding the bug and providing the tests.
The tests actually uncovered another bug where we may parse partial http requests.
This one is handled by romange/helio#243

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
romange added a commit to dragonflydb/dragonfly that referenced this pull request Apr 8, 2024
fix: authorize the http connection to call DF commands

The assumption is that basic-auth already covers the authentication part.
And thanks to @sunneydev for finding the bug and providing the tests.
The tests actually uncovered another bug where we may parse partial http requests.
This one is handled by romange/helio#243

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
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