default connection close status is the abnormal close rather than 0

This commit is contained in:
Peter Thorson
2013-04-23 13:23:15 -05:00
parent 5c9be64230
commit 04f4aab1a9

View File

@@ -180,6 +180,8 @@ public:
, m_alog(alog)
, m_elog(elog)
, m_rng(rng)
, m_local_close_code(close::status::abnormal_close)
, m_remote_close_code(close::status::abnormal_close)
{
m_alog.write(log::alevel::devel,"connection constructor");
}