* GSWeb.framework/GSWDefaultAdaptorThread.m:

o log remote address
* GSWeb.framework/GSWDeployedBundle.m:
		o fix in lockedCachedRelativePathForResourceNamed:inDirectory:forLanguage:
			to really use cache
* GSWeb.framework/GSWDirectAction.m:
		o call application -createContextForRequest: instead of directGSWContext creation
* GSWeb.framework/GSWDynamicElement.h:
		o removed -definitionName and -setDefinitionName:


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@17024 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Manuel Guesdon 2003-06-25 15:32:51 +00:00
parent a6428497cf
commit d406f31b59
4 changed files with 4 additions and 6 deletions

View file

@ -585,7 +585,7 @@ RCS_ID("$Id$")
NSString* method=[requestLineArray objectAtIndex:0];
NSString* url=[requestLineArray objectAtIndex:1];
NSArray* http=[[requestLineArray objectAtIndex:2] componentsSeparatedByString:@"/"];
[GSWApplication statusLogWithFormat:@"Request uri=%@",url];
[GSWApplication statusLogWithFormat:@"RemoteAddress=%@ Request uri=%@",_remoteAddress,url];
NSDebugDeepMLLog(@"info",@"method=%@",method);
NSDebugDeepMLLog(@"info",@"url=%@",url);

View file

@ -390,7 +390,7 @@ RCS_ID("$Id$")
//NSDebugMLLog(@"bundles",@"_path=%@",_path);
if (path==GSNotFoundMarker)
path=nil;
if (!path)
else if (!path)
{
//call again _relativePathForResourceNamed:inDirectory:forLanguage:
NSString* completePathTest=nil;
@ -420,7 +420,7 @@ RCS_ID("$Id$")
else
[_relativePathsCache setObject:GSNotFoundMarker
forKeysArray:keys];
};
}
}
NS_HANDLER
{

View file

@ -43,7 +43,7 @@ RCS_ID("$Id$")
LOGObjectFnStart();
if ((self=[super init]))
{
_context=[GSWContext contextWithRequest:aRequest];
_context=[[GSWApplication application]createContextForRequest:aRequest];
[GSWApp _setContext:_context]; //NDFN
[self _initializeRequestSessionIDInContext:_context];
};

View file

@ -41,8 +41,6 @@
-(id)initWithName:(NSString*)name
associations:(NSDictionary*)associations
template:(GSWElement*)template;
-(NSString*)definitionName;
-(void)setDefinitionName:(NSString*)definitionName;
@end
//====================================================================