Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setUploadForwardingMiddleware (0.16 sec)

  1. cmd/routers.go

    	setRequestLimitMiddleware,
    	// Validate all the incoming requests.
    	setRequestValidityMiddleware,
    	// Add upload forwarding middleware for site replication
    	setUploadForwardingMiddleware,
    	// Add bucket forwarding middleware
    	setBucketForwardingMiddleware,
    	// Add new middlewares here.
    }
    
    // configureServer handler returns final handler for the http server.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. cmd/generic-handlers.go

    				return
    			}
    		}()
    		h.ServeHTTP(w, r)
    	})
    }
    
    // setUploadForwardingMiddleware middleware forwards multiparts requests
    // in a site replication setup to peer that initiated the upload
    func setUploadForwardingMiddleware(h http.Handler) http.Handler {
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		if !globalSiteReplicationSys.isEnabled() ||
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 20.5K bytes
    - Viewed (0)
Back to top