Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for HTTP2_PING_TIMEOUT_SECONDS (0.45 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/net/http_test.go

    		t.Errorf("expected %d, got %d", e, a)
    	}
    }
    
    func TestPingTimeoutSeconds(t *testing.T) {
    	t.Setenv("HTTP2_PING_TIMEOUT_SECONDS", "60")
    	if e, a := 60, pingTimeoutSeconds(); e != a {
    		t.Errorf("expected %d, got %d", e, a)
    	}
    
    	t.Setenv("HTTP2_PING_TIMEOUT_SECONDS", "illegal value")
    	if e, a := 15, pingTimeoutSeconds(); e != a {
    		t.Errorf("expected %d, got %d", e, a)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 18 01:21:56 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/net/http.go

    			return ret
    		}
    		ret = i
    	}
    	return ret
    }
    
    func pingTimeoutSeconds() int {
    	ret := 15
    	if s := os.Getenv("HTTP2_PING_TIMEOUT_SECONDS"); len(s) > 0 {
    		i, err := strconv.Atoi(s)
    		if err != nil {
    			klog.Warningf("Illegal HTTP2_PING_TIMEOUT_SECONDS(%q): %v."+
    				" Default value %d is used", s, err, ret)
    			return ret
    		}
    		ret = i
    	}
    	return ret
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 05 00:08:58 UTC 2022
    - 20.8K bytes
    - Viewed (0)
  3. CHANGELOG/CHANGELOG-1.20.md

    - HTTP/2 connection health check is enabled by default in all Kubernetes clients. The feature should work out-of-the-box. If needed, users can tune the feature via the HTTP2_READ_IDLE_TIMEOUT_SECONDS and HTTP2_PING_TIMEOUT_SECONDS environment variables. The feature is disabled if HTTP2_READ_IDLE_TIMEOUT_SECONDS is set to 0. ([#95981](https://github.com/kubernetes/kubernetes/pull/95981), [@caesarxuchao](https://github.com/caesarxuchao)) [SIG API Machinery, CLI, Cloud...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 19 21:05:45 UTC 2022
    - 409K bytes
    - Viewed (0)
  4. CHANGELOG/CHANGELOG-1.18.md

    connection health check is enabled by default in all Kubernetes clients to fix persistently broken connections (https://github.com/kubernetes/client-go/issues/374). If needed, users can tune the feature via the HTTP2_READ_IDLE_TIMEOUT_SECONDS and HTTP2_PING_TIMEOUT_SECONDS environment variables. The feature is disabled if HTTP2_READ_IDLE_TIMEOUT_SECONDS is set to 0. ([#100376](https://github.com/kubernetes/kubernetes/pull/100376), [@liggitt](https://github.com/liggitt)) [SIG API Machinery, CLI, Cloud Provider,...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 16 17:18:28 UTC 2021
    - 373.2K bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.19.md

    - HTTP/2 connection health check is enabled by default in all Kubernetes clients. The feature should work out-of-the-box. If needed, users can tune the feature via the HTTP2_READ_IDLE_TIMEOUT_SECONDS and HTTP2_PING_TIMEOUT_SECONDS environment variables. The feature is disabled if HTTP2_READ_IDLE_TIMEOUT_SECONDS is set to 0. ([#96778](https://github.com/kubernetes/kubernetes/pull/96778), [@caesarxuchao](https://github.com/caesarxuchao)) [SIG API Machinery, CLI, Cloud...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 05 05:42:32 UTC 2022
    - 489.7K bytes
    - Viewed (0)
Back to top