tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pier Fumagalli <p...@betaversion.org>
Subject Port=0, binding in Random...
Date Tue, 23 Oct 2001 23:56:03 GMT
Anytime we construct a ServerSocket in Tomcat, we shouldn't allow the value
"0" to be passed to the ServerSocket constructor, as that will bind down to
a random port number... (and we don't want to open random ports on the
server, don't we?)

For TC40, I believe the fix is pretty easy, in ServerSocketFactory... I
don't know if TC3x is affected...

Thanks to Tal for noticing...

    Pier


Mime
View raw message