Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-3237

HTTP requests with nested path are not properly handled by libprocess

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.24.0
    • None
    • None

    Description

      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"

      Attachments

        Activity

          People

            vinodkone Vinod Kone
            vinodkone Vinod Kone
            Benjamin Mahler Benjamin Mahler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: