Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
state is not fetched if no STATE_TRANSFER protocol is present (http:/…
  • Loading branch information
belaban committed Mar 25, 2008
1 parent deb0390 commit 78378fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/org/jgroups/JChannel.java
Expand Up @@ -67,7 +67,7 @@
* the construction of the stack will be aborted.
*
* @author Bela Ban
* @version $Id: JChannel.java,v 1.106.2.4 2008/01/23 11:13:14 belaban Exp $
* @version $Id: JChannel.java,v 1.106.2.5 2008/03/25 09:08:35 belaban Exp $
*/
public class JChannel extends Channel {

Expand Down Expand Up @@ -1654,7 +1654,7 @@ public void run() {
}
}

if(auto_getstate) {
if(auto_getstate && state_transfer_supported) {
if(log.isInfoEnabled())
log.info("fetching the state (auto_getstate=true)");
boolean rc=JChannel.this.getState(null, GET_STATE_DEFAULT_TIMEOUT);
Expand Down

0 comments on commit 78378fc

Please sign in to comment.