joshua655 / v8cgi

Automatically exported from code.google.com/p/v8cgi
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Using up all the memory during aborted uploads #93

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Random "out of memory" crashes when people upload a lot & some of the 
uploads are disconnected.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
svn v8 + v8cgi 
apache httpd 2.2.17

Please provide any additional information below.

In the apache2's  modules/http/http_filters.c 

It says that ap_setup_client_block will return -1 sometimes...

 *    It will put data into the buffer (not necessarily a full buffer), and
 *    return the length of the input block. When it is done reading, it will
 *    return 0 if EOF, or -1 if there was an error.
 *    If an error occurs on input, we force an end to keepalive.
 *

Apache themselves have this problem too I have reported it...
https://issues.apache.org/bugzilla/show_bug.cgi?id=51239

Original issue reported on code.google.com by nik...@gmail.com on 26 May 2011 at 10:51

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by ondrej.zara on 26 May 2011 at 1:43

GoogleCodeExporter commented 9 years ago
Commited in r915, thanks a lot!

Original comment by ondrej.zara on 13 Jun 2011 at 10:30