Opened 11 years ago

#5500 new Bugs

memory leak in async_write

Reported by: DengrongWu <jeffreywu@…> Owned by: chris_kohlhoff
Milestone: To Be Determined Component: asio
Version: Boost 1.45.0 Severity: Problem
Keywords: Cc:

Description

First, call the function "async_write", when the callback function "HandleWriteRequest" is called, Then, close the socket.

Repeat the above operation, the memory will continue to increase.

In the attachment, you will see the demo. This program is running in the windows, the IDE is Microsoft visual studio 2008. Boost version is 1.45.0

Best regards.

Attachments (1)

Main.cpp (2.0 KB ) - added by DengrongWu <jeffreywu@…> 11 years ago.

Download all attachments as: .zip

Change History (1)

by DengrongWu <jeffreywu@…>, 11 years ago

Attachment: Main.cpp added
Note: See TracTickets for help on using tickets.