Luca Boccassi 
							
						 
					 
					
						
						
							
						
						c560a41473 
					 
					
						
						
							
							Problem: mingw build broken  
						
						 
						
						... 
						
						
						
						Solution: check correct preprocessor define in test_reconnect_ivl to match the
test invocation 
						
						
					 
					
						2019-12-28 21:17:09 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Giesecke 
							
						 
					 
					
						
						
							
						
						66d0f3511f 
					 
					
						
						
							
							Problem: ipc transport not supported under Windows  
						
						 
						
						... 
						
						
						
						Solution: implement support 
						
						
					 
					
						2019-10-29 23:04:54 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Giesecke 
							
						 
					 
					
						
						
							
						
						7f64b925aa 
					 
					
						
						
							
							Problem: code from bind_loopback_ipv4 is duplicated  
						
						 
						
						... 
						
						
						
						Solution: call bind_loopback_ipv4 where applicable 
						
						
					 
					
						2019-03-24 13:34:13 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Giesecke 
							
						 
					 
					
						
						
							
						
						af4fa22fd8 
					 
					
						
						
							
							Problem: default test setUp/tearDown functions duplicated in many test programs  
						
						 
						
						... 
						
						
						
						Solution: define setUp/tearDown functions via SETUP_TEARDOWN_TESTCONTEXT macro where possible 
						
						
					 
					
						2019-03-24 12:53:12 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Giesecke 
							
						 
					 
					
						
						
							
						
						8d784f26ab 
					 
					
						
						
							
							Problem: close always fails with wildcard bind, since directory is not empty  
						
						 
						
						... 
						
						
						
						Solution: unlink the socket file first 
						
						
					 
					
						2019-02-05 10:17:28 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Luca Boccassi 
							
						 
					 
					
						
						
							
						
						f64b697095 
					 
					
						
						
							
							Problem: tests use hard-coded fixed IPC file path  
						
						 
						
						... 
						
						
						
						Solution: use wildcards or random directories to avoid races when
multiple users are running the same test on the same machine 
						
						
					 
					
						2019-01-13 14:50:54 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Luca Boccassi 
							
						 
					 
					
						
						
							
						
						ffd99fbaf5 
					 
					
						
						
							
							Problem: GNU/Hurd does not implement getsockname for ipc  
						
						 
						
						... 
						
						
						
						Solution: skip tests that use ipc://* as it's impossible to get the
address back for the client 
						
						
					 
					
						2018-11-05 10:59:12 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Giesecke 
							
						 
					 
					
						
						
							
						
						779d120fa3 
					 
					
						
						
							
							Problem: tests do not follow naming style  
						
						 
						
						... 
						
						
						
						Solution: apply naming style 
						
						
					 
					
						2018-05-27 13:24:08 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Simon Giesecke 
							
						 
					 
					
						
						
							
						
						5d32828bbf 
					 
					
						
						
							
							Problem: test_reconnect_ivl not using unity  
						
						 
						
						... 
						
						
						
						Solution: migrate to unity, and reduce code duplication 
						
						
					 
					
						2018-03-15 16:43:26 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								sigiesec 
							
						 
					 
					
						
						
							
						
						41f459e1dc 
					 
					
						
						
							
							Problem: formatting inconsistent  
						
						 
						
						... 
						
						
						
						Solution: applied clang-format 
						
						
					 
					
						2018-02-02 15:47:43 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Luca Boccassi 
							
						 
					 
					
						
						
							
						
						edb4ca1023 
					 
					
						
						
							
							Problem: zmq_connect fails after disconnect due to RECONNECT_IVL == -1  
						
						 
						
						... 
						
						
						
						Solution: when a connection breaks and ZMQ_RECONNECT_IVL is set to -1,
which means a reconnection will not be attempted, send a message from
the I/O thread to the application thread to make the socket call
term_endpoint, which is the equivalent of manually calling
zmq_disconnect.
This way subsequent zmq_connect call to the same endpoint will attempt
again to do a connection.
Otherwise, for some socket types like SUBs, those new connects will
fail as the endpoint is recorded, despite the connection having been
permanently closed.
Add test cases to exercise this corner case with TCP and IPC. 
						
						
					 
					
						2017-09-19 14:05:43 +01:00