APPLINK-6173 fix protocol version on Ack response
authorAlexander Kutsan <AKutsan@luxoft.com>
Tue, 1 Apr 2014 09:31:50 +0000 (12:31 +0300)
committerJustin Dickow <jjdickow@gmail.com>
Tue, 8 Jul 2014 22:30:39 +0000 (18:30 -0400)
src/components/protocol_handler/src/protocol_handler_impl.cc

index 707dbef..bc767e5 100644 (file)
@@ -203,7 +203,7 @@ void ProtocolHandlerImpl::SendStartSessionAck(ConnectionID connection_id,
   LOG4CXX_TRACE_ENTER(logger_);
 
   ProtocolFramePtr ptr(new protocol_handler::ProtocolPacket(connection_id,
-      protocol_version, COMPRESS_OFF, FRAME_TYPE_CONTROL,
+      PROTOCOL_VERSION_2, COMPRESS_OFF, FRAME_TYPE_CONTROL,
       service_type, FRAME_DATA_START_SERVICE_ACK, session_id,
       0, hash_code));