Skip to content
Permalink
Browse files
  • Loading branch information
Timothy A. Bish committed May 15, 2013
1 parent 960a3d5 commit 87dd2ac39e4c89ebb1a6ea4dcc669e2d35a6e32a
Showing 1 changed file with 3 additions and 2 deletions.
@@ -20,6 +20,7 @@
using System;
using System.IO;
using System.Text;
using System.Globalization;

namespace Apache.NMS.Stomp.Protocol
{
@@ -225,8 +226,8 @@ protected virtual Command ReadConnected(StompFrame frame)

if(frame.HasProperty("version"))
{
remoteWireFormatInfo.Version = Single.Parse(frame.RemoveProperty("version"));

remoteWireFormatInfo.Version = Single.Parse(frame.RemoveProperty("version"),
CultureInfo.InvariantCulture);
if(remoteWireFormatInfo.Version > 1.0f)
{
this.encodeHeaders = true;

0 comments on commit 87dd2ac

Please sign in to comment.