-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
urlapi: return CURLUE_BAD_HOSTNAME if puny2idn encoding fails #11674
Conversation
And document it
Alternatives:
|
@jacobmealey thoughts? |
it looks like note that I'm using |
I think maybe it is harder to make up a bad punycode than I considered. I now tested with |
we could of course also remove the check for the |
Okay, I'm getting the same results with using |
Ack. I'll make sure that it returns CURLUE_BAD_HOSTNAME for bad host names and CURLUE_OUT_OF_MEMORY only when it actually runs out of memory. |
…URLUE_OUT_OF_MEMORY only when it actually runs out of memory
And document it. Only return out of memory when it actually is a memory problem. Pointed-out-by: Jacob Mealey Closes curl#11674
And document it