Committing updates.

This commit is contained in:
Преподобный Ален
2022-07-01 14:50:42 +03:00
parent bfcfe3121d
commit 1e5b7e457a
3 changed files with 21 additions and 21 deletions

View File

@@ -1167,7 +1167,9 @@ namespace Apostol {
if (!caOrigin.IsEmpty())
pProxyRequest->AddHeader("Origin", caOrigin);
AConnection->UpdateTimeOut(Now(), 60);
AConnection->CloseConnection(false);
pProxy->Active(true);
}
//--------------------------------------------------------------------------------------------------------------
@@ -1355,11 +1357,11 @@ namespace Apostol {
}
} catch (std::exception &e) {
CHTTPReply::CStatusType LStatus = CHTTPReply::internal_server_error;
CHTTPReply::CStatusType status = CHTTPReply::internal_server_error;
ExceptionToJson(0, e, pReply->Content);
AConnection->SendReply(LStatus);
AConnection->SendReply(status);
Log()->Error(APP_LOG_EMERG, 0, e.what());
}
}