Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for indexOf (0.15 sec)

  1. cmd/bucket-listobjects-handlers.go

    	return subToken, false
    }
    
    func proxyRequestByNodeIndex(ctx context.Context, w http.ResponseWriter, r *http.Request, index int) (success bool) {
    	if len(globalProxyEndpoints) == 0 {
    		return false
    	}
    	if index < 0 || index >= len(globalProxyEndpoints) {
    		return false
    	}
    	ep := globalProxyEndpoints[index]
    	if ep.IsLocal {
    		return false
    	}
    	return proxyRequest(ctx, w, r, ep)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 11.4K bytes
    - Viewed (0)
Back to top