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

Fix fallback panic on CONNECT requests #1958

Merged
merged 6 commits into from
Apr 25, 2023

Conversation

davidpdrsn
Copy link
Member

Fixes #1955

Turns out that CONNECT requests have an empty path, so the default fallback didn't match it. It had routes for / and /* which don't match an empty path.

This fixes it for 0.6.x. Will fix for 0.7 when this is merged.

axum/src/routing/mod.rs Outdated Show resolved Hide resolved
@davidpdrsn
Copy link
Member Author

Heard from #1955 and fleek-network/ursa#522 that this fixes the issue. So I'm gonna move forward with this.

@davidpdrsn davidpdrsn merged commit d22c168 into v0.6.x Apr 25, 2023
@davidpdrsn davidpdrsn deleted the david/v0.6.x--fix-fallback-panic branch April 25, 2023 13:44
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.

1 participant