d52617c Don't consider one address with different port numbers as the same

6 files Authored by mnagy 14 years ago, Committed by sgallagh 14 years ago,
    Don't consider one address with different port numbers as the same
    
    There were two problems with the code. We were using
    fo_set_server_status() instead of fo_set_port_status() when we failed to
    connect to a service. This is a problem because if two services use the
    same server, or we want to use one server with two different ports,
    marking the whole server as bad is incorrect. The other problem was that
    be_resolve_server_done() was comparing the hostent structures -- these
    are, however, equal across multiple server:port pairs with the same
    server addresses.
    
    Fixes: #321
    
        
file modified
+22 -8
file modified
+1 -1