qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grk...@apache.org
Subject svn commit: r1071972 - /qpid/trunk/qpid/java/common/src/main/java/org/apache/qpid/transport/ServerDelegate.java
Date Fri, 18 Feb 2011 12:04:59 GMT
Author: grkvlt
Date: Fri Feb 18 12:04:58 2011
New Revision: 1071972

URL: http://svn.apache.org/viewvc?rev=1071972&view=rev
Log:
QPID-3029: Set channel and heatbeat max to correct values

Modified:
    qpid/trunk/qpid/java/common/src/main/java/org/apache/qpid/transport/ServerDelegate.java

Modified: qpid/trunk/qpid/java/common/src/main/java/org/apache/qpid/transport/ServerDelegate.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/common/src/main/java/org/apache/qpid/transport/ServerDelegate.java?rev=1071972&r1=1071971&r2=1071972&view=diff
==============================================================================
--- qpid/trunk/qpid/java/common/src/main/java/org/apache/qpid/transport/ServerDelegate.java
(original)
+++ qpid/trunk/qpid/java/common/src/main/java/org/apache/qpid/transport/ServerDelegate.java
Fri Feb 18 12:04:58 2011
@@ -35,9 +35,7 @@ import org.slf4j.LoggerFactory;
 
 /**
  * ServerDelegate
- *
  */
-
 public class ServerDelegate extends ConnectionDelegate
 {
     protected static final Logger _logger = LoggerFactory.getLogger(ServerDelegate.class);
@@ -140,12 +138,12 @@ public class ServerDelegate extends Conn
 
     protected int getHeartbeatMax()
     {
-        return Integer.MAX_VALUE;
+        return 0xFFFF;
     }
 
     protected int getChannelMax()
     {
-        return Integer.MAX_VALUE;
+        return 0xFFFF;
     }
 
     @Override
@@ -202,5 +200,4 @@ public class ServerDelegate extends Conn
         ssn.sessionAttached(atc.getName());
         ssn.setState(Session.State.OPEN);
     }
-
 }



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message