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 serverClientIp function that panic on non RouteHandler scope. #9

Merged
merged 1 commit into from
Jan 25, 2025

Conversation

tigerwill90
Copy link
Owner

Description

This PR addresses a bug in the serverClientIP function that caused a panic when handling requests with the notFound, noMethod, or autoOption handlers. Additionally, it enhances the performance of the default clientip resolver for improved efficiency.

@tigerwill90 tigerwill90 marked this pull request as ready for review January 25, 2025 18:07
@tigerwill90 tigerwill90 requested a review from pawndev January 25, 2025 18:07
@tigerwill90 tigerwill90 merged commit 3bf07c0 into master Jan 25, 2025
5 checks passed
@tigerwill90 tigerwill90 deleted the bug/panic-in-non-route-handler branch January 25, 2025 18:14
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