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

Can't read from sockets #34

Closed
guregu opened this issue Aug 31, 2022 · 5 comments
Closed

Can't read from sockets #34

guregu opened this issue Aug 31, 2022 · 5 comments

Comments

@guregu
Copy link
Contributor

guregu commented Aug 31, 2022

I'm having some trouble getting the HTTP server example to run:

tpl samples/http_server.pl -g main

It seems to accept connections fine, but getline/3 repeatedly fails with EAGAIN, leaving the client hanging forever. I get this behavior with threads enabled and disabled.

Not sure if this is actually a bug or an issue with my environment. Could someone else give this a try? I'm on Ubuntu 20.04 under WSL.

@infradig
Copy link
Contributor

infradig commented Aug 31, 2022 via email

@infradig
Copy link
Contributor

infradig commented Aug 31, 2022 via email

@infradig
Copy link
Contributor

infradig commented Aug 31, 2022 via email

@guregu
Copy link
Contributor Author

guregu commented Aug 31, 2022

devel branch works great! Thanks for the quick fix :)

@infradig
Copy link
Contributor

infradig commented Oct 11, 2022 via email

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

No branches or pull requests

2 participants