Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for TCPKeepalive (0.24 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_posix_test.go

    		cfg.Interval = oldCfg.Interval
    	}
    	if cfg.Count == -1 {
    		cfg.Count = oldCfg.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: Thu Mar 07 16:02:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. releasenotes/notes/36499.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: traffic-management
    issue:
      - https://github.com/istio/istio/issues/36499
    releaseNotes:
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Dec 16 22:07:53 UTC 2021
    - 224 bytes
    - Viewed (0)
  6. tests/fuzz/testdata/FuzzConfigValidation2/fuzz_config_validation2.dict

    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 07 17:07:53 UTC 2021
    - 2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. operator/pkg/util/merge_iop.go

    	InboundTrafficPolicy           *v1alpha13.MeshConfig_InboundTrafficPolicy                `json:"inboundTrafficPolicy" patchStrategy:"merge"`
    	TCPKeepalive                   *v1alpha3.ConnectionPoolSettings_TCPSettings_TcpKeepalive `json:"tcpKeepalive" patchStrategy:"merge"`
    	DefaultConfig                  *proxyConfig                                              `json:"defaultConfig" patchStrategy:"merge"`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 18:21:41 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top