[
https://issues.apache.org/jira/browse/FELIX-2786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12985917#action_12985917
]
Carl Hall commented on FELIX-2786:
----------------------------------
I like the idea of following the OSGi version pattern.
What about using "*" as the random port notation? e.g. port=*
> 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.