adds new tls_short_read transport error

This commit is contained in:
Peter Thorson
2013-05-05 19:06:55 -05:00
parent dc7872d647
commit f6f4befe46
4 changed files with 18 additions and 11 deletions

View File

@@ -744,8 +744,8 @@ void connection<config>::handle_read_frame(const lib::error_code& ec,
return;
}
}
if (ec.value() == 335544539 /*TLS short read */) {
m_alog.write(log::alevel::devel,"got TLS short read, ignore for the moment");
if (ec == transport::error::tls_short_read) {
m_elog.write(log::elevel::rerror,"got TLS short read, ignore for the moment");
return;
}