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

Update OIDRedirectHTTPHandler.h #820

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

frogcjn
Copy link

@frogcjn frogcjn commented Feb 17, 2024

fix macOS startHTTPListener memory crash if there is an error and return nil URL

related issue: #107
When there is a starting error happened, the Swift call to startHTTPListener will crash, because of the return URL is nullable but the interface announce it nonnull.

The right behavior should throw an SwiftError.
after this fix, the Swift call to startHTTPListener will be right to handle the error.

fix macOS startHTTPListener memory crash if there is an error and return nil URL.
fix startHTTPListener with port
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