[
https://issues.apache.org/jira/browse/FELIX-2786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
J.W. Janssen resolved FELIX-2786.
---------------------------------
Resolution: Fixed
Fix Version/s: http-2.2.2
As nobody complained in the meantime, I've applied the patch supplied by
[~thecarlhall] after applying some small cleanups. See rev #1540843.
> 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
> Fix For: http-2.2.2
>
> Attachments: felix-2786.diff
>
>
> 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 was sent by Atlassian JIRA
(v6.1#6144)