Avoid AV if schema change doesn't exist. (#177)

This commit is contained in:
Justin Kotalik 2017-10-03 14:21:39 -07:00 committed by GitHub
parent df673f631c
commit ea7bc30dd3
2 changed files with 1 additions and 2 deletions

View File

@ -241,7 +241,7 @@ ASPNETCORE_CONFIG::Populate(
&strHostingModel);
if (FAILED(hr))
{
goto Finished;
hr = S_OK;
}
if (strHostingModel.IsEmpty() || strHostingModel.Equals(L"outofprocess", TRUE))

View File

@ -85,7 +85,6 @@ CProxyModule::OnExecuteRequestHandler(
ASPNETCORE_APPLICATION* pAspNetCoreApplication;
ASPNETCORE_CONFIG::GetConfig(pHttpContext, &config);
// TODO store whether we are inproc or outofproc so we don't need to check the config everytime?
if (config->QueryIsOutOfProcess())// case insensitive
{
m_pHandler = new FORWARDING_HANDLER(pHttpContext);