Remove the extra outpipe handling as the session is quite capable of delaying the creation of the pipe until the connection has happened. Simply don't build the pipe, and let it do that automatically.

This commit is contained in:
Ian Barber
2012-06-03 22:05:36 +01:00
parent 297af95451
commit 06485d9200
3 changed files with 18 additions and 50 deletions

View File

@@ -106,10 +106,7 @@ namespace zmq
// Pipe connecting the session to its socket.
zmq::pipe_t *pipe;
// Pipe connecting the socket to the client
zmq::pipe_t *outpipe;
// This flag is true if the remainder of the message being processed
// is still in the in pipe.
bool incomplete_in;