Avoid AV if schema change doesn't exist. (#177)
This commit is contained in:
parent
df673f631c
commit
ea7bc30dd3
|
|
@ -241,7 +241,7 @@ ASPNETCORE_CONFIG::Populate(
|
|||
&strHostingModel);
|
||||
if (FAILED(hr))
|
||||
{
|
||||
goto Finished;
|
||||
hr = S_OK;
|
||||
}
|
||||
|
||||
if (strHostingModel.IsEmpty() || strHostingModel.Equals(L"outofprocess", TRUE))
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue