mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-02-24 04:01:16 +00:00
o switch to known app instance when requesting unknown instance
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18140 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8bb015671e
commit
d38fed2f63
1 changed files with 11 additions and 1 deletions
|
@ -177,7 +177,17 @@ GSWLoadBalancing_FindInstance(GSWAppRequest *p_pAppRequest,
|
|||
pAppInstance =
|
||||
(GSWAppInstance *)GSWDict_ValueForKey(&pApp->stInstancesDict,
|
||||
szInstanceNum);
|
||||
if (pAppInstance)
|
||||
|
||||
// Not a known instance
|
||||
if (!pAppInstance)
|
||||
{
|
||||
// but we can switch to a known one ?
|
||||
if (pApp->fSwitchToKnownInstance)
|
||||
fFound=GSWLoadBalancing_FindApp(p_pAppRequest,
|
||||
p_pLogServerData,
|
||||
p_pURLComponents);
|
||||
}
|
||||
else
|
||||
{
|
||||
GSWLog(GSW_DEBUG,p_pLogServerData,"Instance Found");
|
||||
if (pAppInstance->fValid)
|
||||
|
|
Loading…
Reference in a new issue