1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

for bug #241, use heap to alloc the socket buffer.

This commit is contained in:
winlin 2014-12-03 14:27:36 +08:00
parent 6cbf732e1a
commit 2fdf994350
2 changed files with 9 additions and 2 deletions

View file

@ -53,6 +53,7 @@ class SrsBuffer
{
private:
std::vector<char> data;
char* buffer;
public:
SrsBuffer();
virtual ~SrsBuffer();