Bug in bb 1.3.1, httpd with POST

Alexander Griesser alexander.griesser at lkh-vil.or.at
Sun Feb 11 05:25:05 PST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

> What toolchain did you use to build busybox?

I'm running on Debian 4.0, Linux kernel 2.6.20, gcc 4.1.2 and libc
2.3.6.ds1-11.

If I missed something to specify for my toolchain, please tell me
and I'll get you this information.

ciao,
- --
Alexander Griesser (Netzwerkadministration)
E-Mail: alexander.griesser at lkh-vil.or.at | Web: http://www.lkh-vil.or.at
KABEG LKH Villach | Nikolaigasse 43 | 9500 Villach
Tel.:   +43 4242 208 3061 | Fax.:   +43 4242 971 3061
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFzxkx66HVD6KUm1oRAksdAJsFBB7GuTo+ZzQ+jJvAB/SEleGcEQCgqUbh
Se5QZYWqImzyItTTCtYaCxI=
=rhld
-----END PGP SIGNATURE-----


More information about the busybox mailing list