On Thu, 02 Oct 2008 03:00:29 -0400, Greg Ungerer <[EMAIL PROTECTED]> wrote:
Hi David,
David Wu wrote:
Hi Greg and all,
Here is a patch for thttpd against
uClinux-dist-200808011(uClinux-dist-20080808 + 20080811 patch)
This patch fixes CGI calls for uClinux(vfork). Here is an example to
test:
/bin/thttpd -p 80 -d /home/httpd -c **.cgi -u root
There is one issue: I got "Bad file descriptor" error in fdwatch()
called in thttpd.c
I haven't analysed the reason. Maybe someone can fix that.
What is the purpose of the change to thttpd.c?
When fdwatch returns error rather than EINTR or EAGAIN, it will exit
without the change.
As I comment in the code I have got "Bad file descriptor". But if I let it
continue then
everything works fine.
I prefer to fix it but I haven't figured out the reason. I will (maybe)
come back to
fix it some later time.
Regards
Greg
------------------------------------------------------------------------
Greg Ungerer -- Chief Software Dude EMAIL: [EMAIL PROTECTED]
Secure Computing Corporation PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
--
David Wu
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev