[BusyBox] httpd POST variables empty

Vladimir N. Oleynik dzo at simtreas.ru
Mon Aug 23 15:20:02 UTC 2004


Ming-Ching,

>>No. Here there are no mistakes.
>>You using POST metod.
>>For get data you should read from stdin CONTENT_LENGTH bytes.

> Hower as I posted a little while ago, there is indeed a bug
> in POST method if the CONTENT_LENGTH is bigger 
> than sizeof(wbuf[128]). So if your CGI script is expecting to 
> read the full CONTENT_LENGTH, it might block forever,
> because it will only transfer sizeof(wbuf) to the CGI.

Ok, Ok. I should find time to understand with a problem.
Try attached patch.


--w
vodz
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: last_patch135
Url: http://lists.busybox.net/pipermail/busybox/attachments/20040823/2276c07d/attachment.diff 


More information about the busybox mailing list