Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for proxyRequestByNodeIndex (0.1 sec)

  1. cmd/admin-handlers-pools.go

    	// concurrent rebalance-start commands.
    	if ep := globalEndpoints[0].Endpoints[0]; !ep.IsLocal {
    		for nodeIdx, proxyEp := range globalProxyEndpoints {
    			if proxyEp.Endpoint.Host == ep.Host {
    				if proxyRequestByNodeIndex(ctx, w, r, nodeIdx) {
    					return
    				}
    			}
    		}
    	}
    
    	pools, ok := objectAPI.(*erasureServerPools)
    	if !ok || len(pools.serverPools) == 1 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 28 00:22:30 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. cmd/bucket-listobjects-handlers.go

    	subToken, nodeIndex := parseRequestToken(token)
    	if nodeIndex > 0 {
    		return subToken, proxyRequestByNodeIndex(ctx, w, r, nodeIndex)
    	}
    	return subToken, false
    }
    
    func proxyRequestByNodeIndex(ctx context.Context, w http.ResponseWriter, r *http.Request, index int) (success bool) {
    	if len(globalProxyEndpoints) == 0 {
    		return false
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top