Commit 80e617b0 authored by Sebastien Decugis's avatar Sebastien Decugis
Browse files

Pass the EAGAIN error to GNUTLS

parent ddebeac9
......@@ -524,7 +524,6 @@ again:
goto again;
}
CHECK_SYS_DO(ret, /* continue */);
return 0; /* so that the connection appears closed */
}
return ret;
......@@ -679,7 +678,8 @@ again:
case GNUTLS_E_AGAIN:
case GNUTLS_E_INTERRUPTED:
goto again;
if (!conn->cc_closing)
goto again;
default:
TRACE_DEBUG(INFO, "This TLS error is not handled, assume unrecoverable error");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment