Reuse buffer when no messages depend on it.

This commit is contained in:
Jens Auer
2015-06-13 22:07:54 +02:00
parent 51cb57e2c9
commit e70b5efa0b
2 changed files with 32 additions and 24 deletions

View File

@@ -92,7 +92,7 @@ namespace zmq
private:
unsigned char* buf;
size_t bufsize;
size_t maxsize;
size_t max_size;
zmq::atomic_counter_t* msg_refcnt;
};