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

Enabling ipv6 in libwebsockets #26189

Merged
merged 1 commit into from
Feb 23, 2019
Merged

Enabling ipv6 in libwebsockets #26189

merged 1 commit into from
Feb 23, 2019

Conversation

AinaSG
Copy link
Contributor

@AinaSG AinaSG commented Feb 23, 2019

Compile libwebsockets with ipv6 support, without it, websockets are not working in ipv6 networks, and the "localhost" keyword is not working in a big number of Operating Systems with predefined ipv6 resolutions of it.

@@ -78,6 +78,7 @@

/* Build with support for ipv6 */
/* #undef LWS_WITH_IPV6 */
#define LWS_WITH_IPV6
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add // -- GODOT start -- and // -- GODOT end -- comments around it, so that we know that we changed this on purpose. Otherwise it will likely be reset next time with sync with upstream's default config.

Copy link
Collaborator

@Faless Faless left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job, thanks!

P.S.: I don't think we need the -- GODOT ADDITION -- line, that's an auto-generated file and that def/undef depends on a cmake flag. and on which platform you called cmake.
I had the:
/* GODOT ADDITION */ line on top because we where using DEBUG_ENABLED which is only defined in godot.

@Faless Faless self-requested a review February 23, 2019 13:53
@akien-mga akien-mga merged commit b2f8dd0 into godotengine:master Feb 23, 2019
@akien-mga
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants