mirror of
				https://github.com/zeromq/libzmq.git
				synced 2025-10-30 21:50:49 +01:00 
			
		
		
		
	Revert "Removing unnecessary outpipe values that had been used for reconnecting existing pipes - no longer needed when using a pipe term for the delay_attach situation."
This reverts commit ace7c99b91.
			
			
This commit is contained in:
		| @@ -306,9 +306,15 @@ void zmq::session_base_t::process_attach (i_engine *engine_) | ||||
|         zmq_assert (!pipe); | ||||
|         pipe = pipes [0]; | ||||
|  | ||||
|         //  Remember the remote end of the pipe if required | ||||
|         if (options.delay_attach_on_connect == 1) | ||||
|             outpipe = pipes [1]; | ||||
|  | ||||
|         //  Ask socket to plug into the pipe. | ||||
|         send_bind (socket, pipes [1]); | ||||
|     } | ||||
|     else if (outpipe && (options.delay_attach_on_connect == 1))  | ||||
|         send_bind (socket, outpipe); | ||||
|  | ||||
|     //  Plug in the engine. | ||||
|     zmq_assert (!engine); | ||||
|   | ||||
| @@ -104,6 +104,9 @@ namespace zmq | ||||
|         //  Pipe connecting the session to its socket. | ||||
|         zmq::pipe_t *pipe; | ||||
|  | ||||
|         //  Socket end of pipe, in case of reconnection | ||||
|         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; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Ian Barber
					Ian Barber