Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsRsGracefulTerminationNeeded (0.45 sec)

  1. pkg/proxy/ipvs/util/ipvs.go

    func (rs *RealServer) Equal(other *RealServer) bool {
    	return rs.Address.Equal(other.Address) &&
    		rs.Port == other.Port
    }
    
    // IsRsGracefulTerminationNeeded returns true if protocol requires graceful termination for the stale connections
    func IsRsGracefulTerminationNeeded(proto string) bool {
    	return !strings.EqualFold(proto, "UDP") && !strings.EqualFold(proto, "SCTP")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  2. pkg/proxy/ipvs/graceful_termination.go

    			//     (existing connections will be deleted on the next packet because sysctlExpireNoDestConn=1)
    			// For other protocols, don't delete until all connections have expired)
    			if utilipvs.IsRsGracefulTerminationNeeded(rsToDelete.VirtualServer.Protocol) && rs.ActiveConn+rs.InactiveConn != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 6.6K bytes
    - Viewed (0)
Back to top