mirror of
				https://github.com/zeromq/libzmq.git
				synced 2025-10-29 12:18:04 +01:00 
			
		
		
		
	Problem: commit afb24b53 broke ZMQ_STREAM contract
				
					
				
			Symptom is that ZMQ_STREAM sockets in 4.1.0 and 4.1.1 generate zero sized messages on each new connection, unlike 4.0.x which did not do this. Person who made this commit also changed test cases so that contract breakage did not show. Same person was later banned for persistently poor form in CZMQ contributions. Solution: enable connect notifications on ZMQ_STREAM sockets using a new ZMQ_STREAM_NOTIFY setting. By default, socket does not deliver notifications, and behaves as in 4.0.x. Fixes #1316
This commit is contained in:
		| @@ -46,7 +46,8 @@ zmq::options_t::options_t () : | ||||
|     immediate (0), | ||||
|     filter (false), | ||||
|     recv_identity (false), | ||||
|     raw_sock (false), | ||||
|     raw_socket (false), | ||||
|     raw_notify (false), | ||||
|     tcp_keepalive (-1), | ||||
|     tcp_keepalive_cnt (-1), | ||||
|     tcp_keepalive_idle (-1), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Pieter Hintjens
					Pieter Hintjens