2006-02-21 Complication

* Reactivate TCP tranport by default, in addition to re-allowing
This commit is contained in:
complication
2006-02-22 06:19:19 +00:00
committed by zzz
parent 5cfedd4c8b
commit 5f05631936
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,7 @@
$Id: history.txt,v 1.413 2006/02/21 08:31:25 jrandom Exp $ $Id: history.txt,v 1.414 2006/02/21 10:20:21 jrandom Exp $
2006-02-21 Complication
* Reactivate TCP tranport by default, in addition to re-allowing
* 2006-02-21 0.6.1.11 released * 2006-02-21 0.6.1.11 released

View File

@ -60,7 +60,8 @@ public class TransportManager implements TransportEventListener {
private void configTransports() { private void configTransports() {
String disableTCP = _context.router().getConfigSetting(PROP_DISABLE_TCP); String disableTCP = _context.router().getConfigSetting(PROP_DISABLE_TCP);
if ( !ALLOW_TCP || (disableTCP == null) || (Boolean.TRUE.toString().equalsIgnoreCase(disableTCP)) ) { // Unless overridden by constant or explicit config property, start TCP tranport
if ( !ALLOW_TCP || ((disableTCP != null) && (Boolean.TRUE.toString().equalsIgnoreCase(disableTCP))) ) {
_log.info("Explicitly disabling the TCP transport!"); _log.info("Explicitly disabling the TCP transport!");
} else { } else {
Transport t = new TCPTransport(_context); Transport t = new TCPTransport(_context);