Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-4438

[Jetty] Jetty server reports itself as being version 8.y.z-SNAPSHOT

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • http-2.2.1
    • http-2.2.2
    • HTTP Service
    • None

    Description

      The Jetty server currently announces itself as version "8.y.z-SNAPSHOT" in the ServletContext.getServerInfo() and the Server header.

      The fault seems to be that Jetty's Server class inspects the package implementation name and version and does not find it. It then falls back to the jetty.version system property which is not set. Finally it falls back to said version "8.y.z-SNAPSHOT".

      The fix is to set the jetty.version system property in the JettyService.getJettyVersion method.

      Attachments

        Activity

          People

            fmeschbe Felix Meschberger
            fmeschbe Felix Meschberger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: