reconnect field init

This commit is contained in:
melo.yao 2015-04-11 00:32:10 +08:00
parent 9da4979d7f
commit 933426051f

View File

@ -25,7 +25,10 @@ namespace sio
m_con_state(con_closed),
m_ping_interval(0),
m_ping_timeout(0),
m_network_thread()
m_network_thread(),
m_reconn_attempts(0xFFFFFFFF),
m_reconn_delay(5000),
m_reconn_delay_max(25000)
{
using websocketpp::log::alevel;
#ifndef DEBUG