-
Notifications
You must be signed in to change notification settings - Fork 36
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
Basic examples simply crash #142
Comments
Can you be more specific? which example are you trying to run? |
I found the problem : in Handler:processRequest (handler.lua:137), the fonction expectes the callback return something (eg true) otherwise it will return the error message. So the example should be :
|
Mind creating a PR with a fix for the example? |
Sure, I just did it. But examples "copas.lua" and "app.lua" can't be fixed : pegasus.json is missing in the repository. Do you know why this feature was removed ? |
@laulin I think this can be closed now, PR's have been merged. |
Closing it, thanks guys! |
Hello,
I was just looking at this library, I install it and when I run basic example (write.lua, querystring.lua, ...), it crashes with following error :
I read response.lua, I saw the flag "_headersSended" but I dont catch the meaning of assert(not _headersSended ...). May be someone can explain that part ?
Thank you for your time !
The text was updated successfully, but these errors were encountered: