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

Bug in libwebsocket library on solving urls. #5

Open
abpprkonsalting opened this issue Mar 12, 2019 · 0 comments
Open

Bug in libwebsocket library on solving urls. #5

abpprkonsalting opened this issue Mar 12, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@abpprkonsalting
Copy link
Owner

abpprkonsalting commented Mar 12, 2019

Resolve the bug that occurs in the libwebsocket library, when the address of the websocket server that is passed to the "libwebsocket_client_connect" function is a network name (not an ip address) and the DNS server is not accessible, libwebsocket can not resolve the IP address and after 20 seconds
the following error: "segfault at 1c ip b7610787 sp bf834a80 error 4 in libwebsockets.so.4.0.0 [b760d000 + 10000]" aborting the splashd program.

possible solution: To resolve the IP address from the variable "wsk_server_address" before calling "libwebsocket_client_connect" so that we always have an IP address, never an url. This is done if necessary, if the variable "wsk_server_address" already have an IP address, this is not necessary.

@abpprkonsalting abpprkonsalting added the bug Something isn't working label Mar 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant