fix for: https://issues.apache.org/jira/browse/AMQNET-383


Project: http://git-wip-us.apache.org/repos/asf/activemq-nms-stomp/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/activemq-nms-stomp/commit/fa16a570
Tree: http://git-wip-us.apache.org/repos/asf/activemq-nms-stomp/tree/fa16a570
Diff: http://git-wip-us.apache.org/repos/asf/activemq-nms-stomp/diff/fa16a570

Branch: refs/heads/1.5.x
Commit: fa16a5705710661c9d6c2b1338097d9d4b45bc8e
Parents: bbe5c99
Author: Timothy A. Bish <[email protected]>
Authored: Wed Aug 1 14:04:51 2012 +0000
Committer: Timothy A. Bish <[email protected]>
Committed: Wed Aug 1 14:04:51 2012 +0000

----------------------------------------------------------------------
 src/main/csharp/Protocol/StompFrame.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-nms-stomp/blob/fa16a570/src/main/csharp/Protocol/StompFrame.cs
----------------------------------------------------------------------
diff --git a/src/main/csharp/Protocol/StompFrame.cs 
b/src/main/csharp/Protocol/StompFrame.cs
index 527f298..f98b4c9 100644
--- a/src/main/csharp/Protocol/StompFrame.cs
+++ b/src/main/csharp/Protocol/StompFrame.cs
@@ -163,7 +163,7 @@ namespace Apache.NMS.Stomp.Protocol
         {
             if(this.Command == KEEPALIVE)
             {
-                dataOut.Write(NEWLINE);
+                dataOut.Write(BREAK);
                 dataOut.Flush();
                 return;
             }

Reply via email to