Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
https://issues.apache.org/activemq/browse/AMQNET-284
Sets the Host field on the v1.1+ Connect Frame. Tweaks the Frame's keep alive send a bit more. Updates the Inactivity monitor to better log its state and to no send the keep alive through its own Oneway method which was causing it to miss every other KeepAliveInfo send. Also sets the Inactivity read check to use a generous window since Apollo seems to take twice as long as you ask it to send you a KeepAlive.
- Loading branch information
Timothy A. Bish
committed
Nov 8, 2010
1 parent
4e94698
commit c61878a4d242d2b79acc4d4abf01bab24bfcf1db
Showing
3 changed files
with
23 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -139,6 +139,7 @@ public void ToStream(BinaryWriter dataOut) | ||
if(this.Command == KEEPALIVE) | ||
{ | ||
dataOut.Write(NEWLINE); | ||
dataOut.Flush(); | ||
return; | ||
} | ||
|
||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters