Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TCPKeepalive (0.11 sec)

  1. pilot/pkg/networking/core/cluster.go

    		c.UpstreamConnectionOptions = &cluster.UpstreamConnectionOptions{
    			TcpKeepalive: &core.TcpKeepalive{},
    		}
    	}
    	if keepalive.Probes > 0 {
    		c.UpstreamConnectionOptions.TcpKeepalive.KeepaliveProbes = &wrappers.UInt32Value{Value: keepalive.Probes}
    	}
    
    	if keepalive.Time != nil {
    		c.UpstreamConnectionOptions.TcpKeepalive.KeepaliveTime = &wrappers.UInt32Value{Value: uint32(keepalive.Time.Seconds)}
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/cluster_test.go

    					g.Expect(cluster.UpstreamConnectionOptions.TcpKeepalive).NotTo(BeNil())
    					g.Expect(cluster.UpstreamConnectionOptions.TcpKeepalive.KeepaliveProbes.Value).
    						To(Equal(expected.Tcp.TcpKeepalive.Probes))
    					g.Expect(cluster.UpstreamConnectionOptions.TcpKeepalive.KeepaliveTime.Value).
    						To(Equal(uint32(expected.Tcp.TcpKeepalive.Time.Seconds)))
    					g.Expect(cluster.UpstreamConnectionOptions.TcpKeepalive.KeepaliveInterval.Value).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/cluster_builder_test.go

    				Tcp: &networking.ConnectionPoolSettings_TCPSettings{
    					TcpKeepalive: &networking.ConnectionPoolSettings_TCPSettings_TcpKeepalive{
    						Time: &durationpb.Duration{Seconds: 10},
    					},
    				},
    			},
    			wantConnOpts: &cluster.UpstreamConnectionOptions{
    				TcpKeepalive: &core.TcpKeepalive{
    					KeepaliveTime: &wrappers.UInt32Value{Value: uint32(10)},
    				},
    			},
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
Back to top