Index: http.c =================================================================== --- http.c (revision 5948) +++ http.c (working copy) @@ -1930,7 +1930,7 @@ httpFlushWrite(http); } - if ((length + http->wused) < sizeof(http->wbuffer)) + if ((length + http->wused) <= sizeof(http->wbuffer)) { /* * Write to buffer...