What steps will reproduce the problem?
1. Run mongoose for a long time and have it process lots of connections.
2. Watch memory grow very slowly.
3.
What is the expected output? What do you see instead?
mongoose should be freeing the mg_connection objects that it callocs in
accept_new_connection(). Instead they seem to get leaked.
What version of the product are you using? On what operating system?
2.4 (Windows Vista and OS X)
Please provide any additional information below.
To fix I would suggest adding 'free(conn);' at the end of the
close_connection() function.
Original issue reported on code.google.com by jack...@gmail.com on 22 Jul 2009 at 10:40
Original issue reported on code.google.com by
jack...@gmail.com
on 22 Jul 2009 at 10:40