felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FELIX-2786) Allow HTTPService to pick a random free port in a given range
Date Mon, 24 Jan 2011 19:12:44 GMT

    [ https://issues.apache.org/jira/browse/FELIX-2786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12985908#action_12985908

Felix Meschberger commented on FELIX-2786:

why not use OSGi Version-style ranges ? Something like

   port=8000 -- fixed port 8000
   port=[8000,9000)  -- test ports 8000...8999

> Allow HTTPService to pick a random free port in a given range
> -------------------------------------------------------------
>                 Key: FELIX-2786
>                 URL: https://issues.apache.org/jira/browse/FELIX-2786
>             Project: Felix
>          Issue Type: Improvement
>          Components: HTTP Service
>    Affects Versions: http-2.0.4
>            Reporter: Holger Hoffstätte
>            Priority: Minor
> 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)".

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message