Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for stopHTTPServer (0.08 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/genericapiserver.go

    	// Canceling the parent context does not immediately cancel the HTTP server.
    	// We only inherit context values here and deal with cancellation ourselves.
    	stopHTTPServerCtx, stopHTTPServer := context.WithCancelCause(context.WithoutCancel(ctx))
    	go func() {
    		defer stopHTTPServer(errors.New("time to stop HTTP server"))
    
    		timeToStopHttpServerCh := notAcceptingNewRequestCh.Signaled()
    		if s.ShutdownSendRetryAfter {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 42.9K bytes
    - Viewed (0)
Back to top