mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
12 lines
460 B
Diff
12 lines
460 B
Diff
--- a/src/cpp/core/http/SocketProxy.cpp
|
|
+++ b/src/cpp/core/http/SocketProxy.cpp
|
|
@@ -148,8 +148,7 @@
|
|
#ifndef _WIN32
|
|
bool isSslShutdownError(const core::Error& error)
|
|
{
|
|
- return error.code().category() == boost::asio::error::get_ssl_category() &&
|
|
- error.code().value() == ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SHORT_READ);
|
|
+ return error.code() == boost::asio::ssl::error::stream_truncated;
|
|
}
|
|
#else
|
|
bool isSslShutdownError(const core::Error& error)
|