Project: mesos
Issue MESOS-3237: HTTP requests with nested path are not properly handled by libprocess
For example, if master adds a route "/api/v1/scheduler", a handler named "api/v1/scheduler" is added to 'master' libprocess. But when a request is posted to the above path, process::visit() looks for a http handler named "api" instead of "api/v1/scheduler". Ideally libprocess should look for handlers in the following preference order: "api/v1/scheduler" --> "api/v1" --> "api"
Story points: 2