2011/10/14 Mark Thomas <ma...@apache.org>:
> If binding to a random port is to be supported I think it needs to be an
> explicit choice - e.g. by setting a special value such as "auto" - and
> ideally needs to be supported by all connectors.
>
2011/10/14 Olivier Lamy <ol...@apache.org>:
> Do we agree on the fact that after been started, the protocol handler
> will update the connector.port field to make the real port used
> available for use ?

If it were port=0 then you would better define a separate
getLocalPort() property.

The "auto" value... how can that be?  Connector.setPort() accepts
integer, and it can also be accessed through JMX.

There are several layers, and if you say "update its port number",
which of them will update its member variable and which not, and what
happens if connector is restarted e.g. through JMX?

Also I would like to introduce support for "-1" value for port number,
as I mentioned above, but that would be a separate feature.


> I have opened https://issues.apache.org/bugzilla/show_bug.cgi?id=52028
> and will try to propose a patch next week.

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to