Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Brobbs (0.17 sec)

  1. internal/http/dial_linux.go

    			// The time (in seconds) the connection needs to remain idle before
    			// TCP starts sending keepalive probes
    			_ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, syscall.TCP_KEEPIDLE, 15)
    
    			// Number of probes.
    			// ~ cat /proc/sys/net/ipv4/tcp_keepalive_probes (defaults to 9, we reduce it to 5)
    			_ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, syscall.TCP_KEEPCNT, 5)
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Jun 07 16:53:05 GMT 2023
    - 4.4K bytes
    - Viewed (3)
Back to top