Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for TCPKeepalive (0.25 sec)

  1. src/net/tcpconn_keepalive_illumos_test.go

    		tcpKeepAliveAbortThreshold = cfg.Interval * time.Duration(cfg.Count)
    	}
    
    	tcpKeepAlive, err := syscall.GetsockoptInt(fd, syscall.SOL_SOCKET, syscall.SO_KEEPALIVE)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if (tcpKeepAlive != 0) != cfg.Enable {
    		t.Fatalf("SO_KEEPALIVE: got %t; want %t", tcpKeepAlive != 0, cfg.Enable)
    	}
    
    	tcpKeepAliveIdle, err := syscall.GetsockoptInt(fd, syscall.IPPROTO_TCP, syscall_TCP_KEEPIDLE)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:17:21 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. src/net/tcpconn_keepalive_solaris_test.go

    		}
    		cfg.Count = 1
    		tcpKeepAliveAbortThreshold = cfg.Interval
    	}
    
    	tcpKeepAlive, err := syscall.GetsockoptInt(fd, syscall.SOL_SOCKET, syscall.SO_KEEPALIVE)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if (tcpKeepAlive != 0) != cfg.Enable {
    		t.Fatalf("SO_KEEPALIVE: got %t; want %t", tcpKeepAlive != 0, cfg.Enable)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. pkg/bootstrap/option/convert.go

    type UpstreamConnectionOptions struct {
    	TCPKeepalive *TCPKeepalive `json:"tcp_keepalive,omitempty"`
    }
    
    func keepaliveConverter(value *networkingAPI.ConnectionPoolSettings_TCPSettings_TcpKeepalive) convertFunc {
    	return func(*instance) (any, error) {
    		upstreamConnectionOptions := &UpstreamConnectionOptions{
    			TCPKeepalive: &TCPKeepalive{},
    		}
    
    		if value.Probes > 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 00:35:05 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/net/tcpsockopt_windows.go

    	// millisecond.
    	tcpKeepAliveIdle := uint32(roundDurationUp(idle, time.Millisecond))
    	tcpKeepAliveInterval := uint32(roundDurationUp(interval, time.Millisecond))
    	ka := syscall.TCPKeepalive{
    		OnOff:    1,
    		Time:     tcpKeepAliveIdle,
    		Interval: tcpKeepAliveInterval,
    	}
    	ret := uint32(0)
    	size := uint32(unsafe.Sizeof(ka))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:35 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. pkg/bootstrap/config.go

    			option.EnvoyMetricsServiceTLS(config.EnvoyMetricsService.TlsSettings, metadata),
    			option.EnvoyMetricsServiceTCPKeepalive(config.EnvoyMetricsService.TcpKeepalive))
    	} else if config.EnvoyMetricsServiceAddress != "" { // nolint: staticcheck
    		opts = append(opts, option.EnvoyMetricsServiceAddress(config.EnvoyMetricsService.Address))
    	}
    
    	// Add options for Envoy access log.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:02:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  8. 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)
  9. manifests/charts/istiod-remote/templates/crd-all.gen.yaml

                                        to a destination host.
                                      format: int32
                                      type: integer
                                    tcpKeepalive:
                                      description: If set then set SO_KEEPALIVE on the
                                        socket to enable TCP Keepalives.
                                      properties:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:42 UTC 2024
    - 671.7K bytes
    - Viewed (2)
  10. manifests/charts/base/crds/crd-all.gen.yaml

                                        to a destination host.
                                      format: int32
                                      type: integer
                                    tcpKeepalive:
                                      description: If set then set SO_KEEPALIVE on the
                                        socket to enable TCP Keepalives.
                                      properties:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:42 UTC 2024
    - 671.6K bytes
    - Viewed (0)
Back to top