Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for proxyRequestByNodeIndex (0.4 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.Host == ep.Host {
    				if proxied, success := proxyRequestByNodeIndex(ctx, w, r, nodeIdx, false); proxied && success {
    					return
    				}
    			}
    		}
    	}
    
    	pools, ok := objectAPI.(*erasureServerPools)
    	if !ok || len(pools.serverPools) == 1 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Sep 04 20:47:24 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. cmd/bucket-listobjects-handlers.go

    	var nodeIndex int
    	if subToken, nodeIndex = parseRequestToken(token); nodeIndex >= 0 {
    		proxied, success = proxyRequestByNodeIndex(ctx, w, r, nodeIndex, returnErr)
    	}
    	return
    }
    
    func proxyRequestByNodeIndex(ctx context.Context, w http.ResponseWriter, r *http.Request, index int, returnErr bool) (proxied, success bool) {
    	if len(globalProxyEndpoints) == 0 {
    		return
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 03 21:03:04 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top