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

Lighttpd has no post? #1

Open
Etiene opened this issue Jul 6, 2015 · 4 comments
Open

Lighttpd has no post? #1

Etiene opened this issue Jul 6, 2015 · 4 comments

Comments

@Etiene
Copy link
Contributor

Etiene commented Jul 6, 2015

https://github.com/felipedaragon/remy/blob/master/src/remy/mod_magnet.lua#L28

@felipedaragon
Copy link
Member

It was weird but I was unable to find a way to read POST and GET like the other web servers. The GET reading I implemeted is improvised from lighty.env["uri.query"]

@xspager
Copy link

xspager commented Feb 13, 2016

No good, changed mod_magnet to expose the request body but Lighttpd 1.4 (the last released) is bugged, 1.5 fixed it but now is dead 💀 and 2.0 is not out yet 😞

@felipedaragon
Copy link
Member

Thanks for the effort! Better to wait for 2.0 then and maybe notify whoever is developing the next version so it can get fixed :)

@gstrauss
Copy link

@xspager wrote

No good, changed mod_magnet to expose the request body but Lighttpd 1.4 (the last released) is bugged, 1.5 fixed it but now is dead skull and 2.0 is not out yet disappointed

In general, bugs that do not get reported upstream are unlikely to get fixed.

I am a lighttpd developer of the lighttpd 1.4.x branch. lighttpd 1.4.x does not expose the POST request body in lighttpd mod_magnet because lighttpd has not read the request body when lighttpd runs the request processing hooks for mod_magnet. If there were interest, I might look into adding hooks to lighttpd for lua to be able to filter the request/response.

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

4 participants