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

Allow HTTPService to pick a random free port in a given range

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • http-2.0.4
    • http-2.2.2
    • HTTP Service
    • None

    Description

      Sometimes we cannot configure the used port for a HTTPService up front, so it would be nice to have the service select one itself; the chosen port would then have to be communicated to the outside world. Since it should not just select any random port e.g. for security reasons, it should be possible to specify a range as property.
      Marcel suggested a port config value along the lines of port="random" or port="pick-from-range(8000,9000)".

      Attachments

        1. felix-2786.diff
          11 kB
          Carl Franklin Hall

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            h2o Holger Hoffstätte
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment