Ignore SSL_R_SHORT_READ
This commit is contained in:
parent
c52ebc2e60
commit
adbdc6fcda
1 changed files with 3 additions and 1 deletions
|
|
@ -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) {
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue