Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for abortIdle (0.07 sec)

  1. src/net/tcpsockopt_solaris.go

    	// setting both to negative values should pragmatically leave the
    	// TCP_KEEPALIVE_ABORT_THRESHOLD unchanged.
    	abortIdle := int(roundDurationUp(interval, time.Millisecond)) * count
    	if abortIdle < 0 {
    		return syscall.ENOPROTOOPT
    	}
    	if interval < 0 && count < 0 {
    		abortIdle = -1
    	}
    
    	if abortIdle > 0 {
    		// Note that the consequent probes will not be sent at equal intervals on Solaris,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top