Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for GetProxyEndpoints (0.06 seconds)

  1. cmd/endpoint.go

    	for i, pep := range proxyEps {
    		if pep.IsLocal {
    			return i
    		}
    	}
    	return -1
    }
    
    // GetProxyEndpoints - get all endpoints that can be used to proxy list request.
    func GetProxyEndpoints(endpointServerPools EndpointServerPools, transport http.RoundTripper) []ProxyEndpoint {
    	var proxyEps []ProxyEndpoint
    
    	proxyEpSet := set.NewStringSet()
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  2. cmd/server-main.go

    	// allow transport to be HTTP/1.1 for proxying.
    	globalInternodeTransport = NewInternodeHTTPTransport(ctxt.MaxIdleConnsPerHost)()
    	globalRemoteTargetTransport = NewRemoteTargetHTTPTransport(false)()
    	globalProxyEndpoints = GetProxyEndpoints(globalEndpoints, globalRemoteTargetTransport)
    
    	globalForwarder = handlers.NewForwarder(&handlers.Forwarder{
    		PassHost:     true,
    		RoundTripper: globalRemoteTargetTransport,
    		Logger: func(err error) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 27 15:18:36 GMT 2025
    - 35.9K bytes
    - Click Count (4)
Back to Top