Committing updates.
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user