Balancer input ignores replies of local addresses to prevent loops, load balancer itself updated to not sent self-answers to servers.
This commit is contained in:
		
							parent
							
								
									eeffba15ad
								
							
						
					
					
						commit
						5b059dcf6f
					
				
					 3 changed files with 13 additions and 1 deletions
				
			
		|  | @ -13,7 +13,7 @@ int main(int argc, char ** argv){ | |||
|     } | ||||
|     std::cout << argv[i] << " -> " << u.getUrl() << std::endl; | ||||
|     std::cout << "Protocol: " << u.protocol << std::endl; | ||||
|     std::cout << "Host: " << u.host << std::endl; | ||||
|     std::cout << "Host: " << u.host << " (Local: " << (Socket::isLocalhost(u.host)?"Yes":"No") << ")" << std::endl; | ||||
|     std::cout << "Port: " << u.getPort() << std::endl; | ||||
|     std::cout << "Path: " << u.path << std::endl; | ||||
|     std::cout << "Query: " << u.args << std::endl; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Thulinma
						Thulinma