rfminelli / lusca-cache

Automatically exported from code.google.com/p/lusca-cache
GNU General Public License v2.0
0 stars 0 forks source link

Memory leak in requestAbortBody processing #135

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
lusca version: LUSCA_HEAD-r14809

In function requestAbortBody (HttpRequest.c), request->body_reader_data is
assigned to NULL before handler(clientReadBody) is called. When function 
clientAbortBody
(client_side_body.c) is eventually called, the ConnStateData saved in
request->body_reader_data is NULL, and the function returns immediately which
results in memory leak(requestUnlink not called).

Original issue reported on code.google.com by gm.jin.w...@gmail.com on 29 Nov 2010 at 8:03