1 diff -ur busybox.old/networking/httpd.c busybox.dev/networking/httpd.c
2 --- busybox.old/networking/httpd.c 2007-02-10 16:36:50.950661000 +0100
3 +++ busybox.dev/networking/httpd.c 2007-02-11 21:24:52.026742384 +0100
5 #if PIPESIZE >= MAX_MEMORY_BUFF
6 # error "PIPESIZE >= MAX_MEMORY_BUFF"
8 - /* NB: was safe_read. If it *has to be* safe_read, */
9 - /* please explain why in this comment... */
10 - count = full_read(inFd, rbuf, PIPESIZE);
11 + /* reverted back to safe_read, otherwise httpd may block if the */
12 + /* cgi-script outputs page date before it has fully received all */
13 + /* (eg POST) data */
14 + count = safe_read(inFd, rbuf, PIPESIZE);