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

HTTP requests with nested path are not properly handled by libprocess

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.24.0
    • Component/s: None
    • Labels:
      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

            • Assignee:
              vinodkone Vinod Kone
              Reporter:
              vinodkone Vinod Kone
              Shepherd:
              Benjamin Mahler
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: