Ignore SSL_R_SHORT_READ

This commit is contained in:
woe 2022-06-16 14:41:04 +02:00
commit adbdc6fcda

View file

@ -675,8 +675,10 @@ namespace SimpleWeb {
auto lock = session->connection->handler_runner->continue_lock();
if(!lock)
return;
# define SSL_R_SHORT_READ 219
auto ec = ec_ == error::eof ? error_code() : ec_;
if((ec.value() & 0xff) == SSL_R_SHORT_READ)
ec = error_code();
if(!ec) {
{