mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +00:00
Bugfix and improved logging
This commit is contained in:
parent
d497c7b3ea
commit
9a055f93ad
8 changed files with 316 additions and 81 deletions
|
@ -33,7 +33,7 @@
|
|||
|
||||
@implementation NSURLConnectionTest
|
||||
|
||||
+ (Class)testWebServerClass
|
||||
+ (Class) testWebServerClass
|
||||
{
|
||||
return [TestWebServer class];
|
||||
}
|
||||
|
@ -101,6 +101,12 @@ static NSMapTable *_flagMap = nil;
|
|||
{
|
||||
NSLog(@"%@: started with request:\n%@", self, _request);
|
||||
[self logFlags];
|
||||
|
||||
NSMutableSet *s = [[NSProcessInfo processInfo] debugSet];
|
||||
[s addObject: @"NSURLConnection"];
|
||||
[s addObject: @"NSURLProtocol"];
|
||||
[s addObject: @"NSStream"];
|
||||
[s addObject: @"NSRunLoop"];
|
||||
}
|
||||
|
||||
_conn = [[NSURLConnection alloc] initWithRequest: _request
|
||||
|
@ -226,7 +232,7 @@ static NSMapTable *_flagMap = nil;
|
|||
NSEndMapTableEnumeration(&en);
|
||||
}
|
||||
|
||||
- (NSError *)error
|
||||
- (NSError*) error
|
||||
{
|
||||
return _error;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue