test ignoring TLS short reads

This commit is contained in:
Peter Thorson
2013-05-05 18:57:17 -05:00
parent 844334efbb
commit dc7872d647

View File

@@ -744,6 +744,10 @@ 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");
return;
}
std::stringstream s;
s << "error in handle_read_frame: " << ec.message() << " (" << ec << ")";