diff options
author | Brad Pankow <brad@livio.io> | 2016-07-25 13:48:58 -0400 |
---|---|---|
committer | Brad Pankow <brad@livio.io> | 2016-07-26 13:27:44 -0400 |
commit | 4e7df81d55146328ae2b4c3a01cbddd1e4db74f9 (patch) | |
tree | 3f1fe9c93f7482d6ac6ca05ee51175bcc1cd658b /src/components | |
parent | d0a1b61b5b17f2997c7268a8642496254015577d (diff) | |
download | sdl_core-4e7df81d55146328ae2b4c3a01cbddd1e4db74f9.tar.gz |
Initialize protocol_version to V2 (CID 80051)
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/connection_handler/include/connection_handler/connection.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/connection_handler/include/connection_handler/connection.h b/src/components/connection_handler/include/connection_handler/connection.h index d20ddc1c00..c78fb83c4f 100644 --- a/src/components/connection_handler/include/connection_handler/connection.h +++ b/src/components/connection_handler/include/connection_handler/connection.h @@ -41,6 +41,7 @@ #include "connection_handler/device.h" #include "connection_handler/heartbeat_monitor.h" #include "protocol/service_type.h" +#include "protocol_handler/protocol_packet.h" #ifdef ENABLE_SECURITY namespace security_manager { @@ -97,7 +98,8 @@ struct Session { security_manager::SSLContext *ssl_context; #endif // ENABLE_SECURITY Session() - : service_list() + : service_list(), + protocol_version(::protocol_handler::PROTOCOL_VERSION_2) #ifdef ENABLE_SECURITY , ssl_context(NULL) #endif // ENABLE_SECURITY |