On Thu, 02 Oct 2008 19:26:01 -0400, David Wu <[EMAIL PROTECTED]> wrote:

On Thu, 02 Oct 2008 18:48:28 -0400, Gavin Lambert <[EMAIL PROTECTED]> wrote:

Quoth David Wu:
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:

I've previously sent (larger) patches for thttpd in that make it use vfork. Been running for ages on my board without any noticeable issues :)

I could send them again if you're interested. Not sure if they'll apply cleanly now, though, since I was using a much older build of uClinux.

I have found your patch. I will test it.
OK. For normally CGI program(I mean exit normally) it works fine. But If I try to call "cat kmsg" in a CGI program then it will block further request from browser.
It seems there is one missing close on the socket.

thanks,


David Wu
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev





--
David Wu
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to