diff --git a/src/AspNetCore/Src/aspnetcoreconfig.cxx b/src/AspNetCore/Src/aspnetcoreconfig.cxx index 944ff75e28..26ed858cdc 100644 --- a/src/AspNetCore/Src/aspnetcoreconfig.cxx +++ b/src/AspNetCore/Src/aspnetcoreconfig.cxx @@ -241,7 +241,7 @@ ASPNETCORE_CONFIG::Populate( &strHostingModel); if (FAILED(hr)) { - goto Finished; + hr = S_OK; } if (strHostingModel.IsEmpty() || strHostingModel.Equals(L"outofprocess", TRUE)) diff --git a/src/AspNetCore/Src/proxymodule.cxx b/src/AspNetCore/Src/proxymodule.cxx index 502d91f035..9616d8485a 100644 --- a/src/AspNetCore/Src/proxymodule.cxx +++ b/src/AspNetCore/Src/proxymodule.cxx @@ -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);