diff options
Diffstat (limited to 'src/components/connection_handler/include/connection_handler/connection.h')
-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 |