Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for corsHandler (0.06 sec)

  1. cmd/server-main.go

    		}
    		// Allow grid to start after registering all services.
    		close(globalGridStart)
    		close(globalLockGridStart)
    
    		httpServer := xhttp.NewServer(getServerListenAddrs()).
    			UseHandler(setCriticalErrorHandler(corsHandler(handler))).
    			UseTLSConfig(newTLSConfig(getCert)).
    			UseIdleTimeout(globalServerCtxt.IdleTimeout).
    			UseReadHeaderTimeout(globalServerCtxt.ReadHeaderTimeout).
    			UseBaseContext(GlobalContext).
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
  2. cmd/test-utils_test.go

    	if err != nil {
    		t.Fatalf("Failed to configure one of the RPC services <ERROR> %s", err)
    	}
    
    	// Run TestServer.
    	testServer.Server = httptest.NewUnstartedServer(setCriticalErrorHandler(corsHandler(httpHandler)))
    
    	globalObjLayerMutex.Lock()
    	globalObjectAPI = objLayer
    	globalObjLayerMutex.Unlock()
    
    	// initialize peer rpc
    	host, port := mustSplitHostPort(testServer.Server.Listener.Addr().String())
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
Back to top