|  |  | @ -1708,6 +1708,7 @@ int main(int argc, char **argv) | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 		if (send_recv_path(path, "ping")) { |  |  |  | 		if (send_recv_path(path, "ping")) { | 
			
		
	
		
		
			
				
					
					|  |  |  | 			for (i = 0; i < ckp.serverurls; i++) { |  |  |  | 			for (i = 0; i < ckp.serverurls; i++) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 				char oldurl[INET6_ADDRSTRLEN], oldport[8]; | 
			
		
	
		
		
			
				
					
					|  |  |  | 				char getfd[16]; |  |  |  | 				char getfd[16]; | 
			
		
	
		
		
			
				
					
					|  |  |  | 				int sockd; |  |  |  | 				int sockd; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -1719,11 +1720,17 @@ int main(int argc, char **argv) | 
			
		
	
		
		
			
				
					
					|  |  |  | 					break; |  |  |  | 					break; | 
			
		
	
		
		
			
				
					
					|  |  |  | 				ckp.oldconnfd[i] = get_fd(sockd); |  |  |  | 				ckp.oldconnfd[i] = get_fd(sockd); | 
			
		
	
		
		
			
				
					
					|  |  |  | 				Close(sockd); |  |  |  | 				Close(sockd); | 
			
		
	
		
		
			
				
					
					|  |  |  | 				if (!ckp.oldconnfd[i]) |  |  |  | 				sockd = ckp.oldconnfd[i]; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 				if (!sockd) | 
			
		
	
		
		
			
				
					
					|  |  |  | 					break; |  |  |  | 					break; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 				if (url_from_socket(sockd, oldurl, oldport)) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 					LOGWARNING("Inherited old server socket %d url %s:%s !", | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 						   i, oldurl, oldport); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 				} else { | 
			
		
	
		
		
			
				
					
					|  |  |  | 					LOGWARNING("Inherited old server socket %d with new file descriptor %d!", |  |  |  | 					LOGWARNING("Inherited old server socket %d with new file descriptor %d!", | 
			
		
	
		
		
			
				
					
					|  |  |  | 						   i, ckp.oldconnfd[i]); |  |  |  | 						   i, ckp.oldconnfd[i]); | 
			
		
	
		
		
			
				
					
					|  |  |  | 				} |  |  |  | 				} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 			} | 
			
		
	
		
		
			
				
					
					|  |  |  | 			send_recv_path(path, "reject"); |  |  |  | 			send_recv_path(path, "reject"); | 
			
		
	
		
		
			
				
					
					|  |  |  | 			send_recv_path(path, "reconnect"); |  |  |  | 			send_recv_path(path, "reconnect"); | 
			
		
	
		
		
			
				
					
					|  |  |  | 			send_recv_path(path, "shutdown"); |  |  |  | 			send_recv_path(path, "shutdown"); | 
			
		
	
	
		
		
			
				
					|  |  | 
 |