Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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