LIBZMQ-497 there could be unsent bytes in encoder

When we send a large message, the message can be splitted into two chunks.
One is in the encoder buffer and the other is the zero-copy pointer.
The session could get the term before the last chunk is sent.
This commit is contained in:
Min(Dongmin Yu)
2013-02-01 17:32:28 +09:00
parent a3ae0d4c16
commit 2c1a3c55f7
4 changed files with 19 additions and 0 deletions

View File

@@ -135,6 +135,7 @@ namespace zmq
std::string endpoint;
bool plugged;
bool terminating;
// Socket
zmq::socket_base_t *socket;