Bug in bb 1.3.1, httpd with POST

Denis Vlasenko vda.linux at googlemail.com
Sun Feb 11 14:51:40 UTC 2007


On Sunday 11 February 2007 14:25, Alexander Griesser wrote:
> Bernhard Fischer wrote:
> > On Fri, Feb 09, 2007 at 05:15:18PM +0100, Dirk Clemens wrote:
> >> I thing I have found a post bug in busybosy 1.3.1/mips.
> >
> > Can you reproduce this with the current 1.4.1 (?) release or with trunk?
> 
> Well, I think I'm suffering from a similar bug.
> I don't know when it started to not work anymore, but currently (1.4.1)
> I'm not able to do the following:
> 
> if [ "$REQUEST_METHOD" = "POST" ]; then
>   read QUERY_STRING
> fi
> 
> This results in waiting endlessly for the webserver to complete,
> as if there was nothing coming on stdin for read to complete.
> 
> I gave `cat` a shot and that worked:
> 
> if [ "$REQUEST_METHOD" = "POST" ]; then
>   cat >/tmp/out
> fi

I would like to try it myself. Do you have a small testcase?
--
vda



More information about the busybox mailing list