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

Marcel Offermans commented on FELIX-2786:
-----------------------------------------

Sounds like a good idea, but formally, with OSGi version ranges, 8000 means 
from 8000 to infinity, so I don't think we want those semantics. :)

> 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.

Reply via email to