Vladimir N. Oleynik writes:
authorEric Andersen <andersen@codepoet.org>
Thu, 26 Aug 2004 22:22:50 +0000 (22:22 -0000)
committerEric Andersen <andersen@codepoet.org>
Thu, 26 Aug 2004 22:22:50 +0000 (22:22 -0000)
commit97a1de10e95c44e1a2cec3c3c4fd8b39d4219318
treef3f68262cd5f20fb0c14c210b31272f5e412caec
parent52499cb9ae01a67187c65ea43a48140b147968cf
Vladimir N. Oleynik writes:

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
networking/httpd.c