X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/42fff42165a0fa1602758a078746f8697f265f83..1d460a17caf94ddc33610b39a0a11aec1d3905a2:/lib/controller/handler.go diff --git a/lib/controller/handler.go b/lib/controller/handler.go index 578bfc7d24..a35d003019 100644 --- a/lib/controller/handler.go +++ b/lib/controller/handler.go @@ -92,7 +92,10 @@ func (h *Handler) setup() { }) oidcAuthorizer := localdb.OIDCAccessTokenAuthorizer(h.Cluster, h.db) - rtr := router.New(federation.New(h.Cluster), api.ComposeWrappers(ctrlctx.WrapCallsInTransactions(h.db), oidcAuthorizer.WrapCalls)) + rtr := router.New(federation.New(h.Cluster), router.Config{ + MaxRequestSize: h.Cluster.API.MaxRequestSize, + WrapCalls: api.ComposeWrappers(ctrlctx.WrapCallsInTransactions(h.db), oidcAuthorizer.WrapCalls), + }) mux.Handle("/arvados/v1/config", rtr) mux.Handle("/"+arvados.EndpointUserAuthenticate.Path, rtr) // must come before .../users/ mux.Handle("/arvados/v1/collections", rtr)