mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
more detailed debug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11838 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1e8939a868
commit
d8e0fb1a5f
2 changed files with 17 additions and 6 deletions
|
@ -308,7 +308,10 @@ static void debugWrite(NSData *data)
|
|||
* Don't start a load if one is in progress.
|
||||
*/
|
||||
if (connectionState != idle)
|
||||
return;
|
||||
{
|
||||
NSLog(@"Attempt to load an http handle which is not idle ... ignored");
|
||||
return;
|
||||
}
|
||||
|
||||
[dat setLength: 0];
|
||||
RELEASE(document);
|
||||
|
@ -316,8 +319,11 @@ static void debugWrite(NSData *data)
|
|||
parser = [GSMimeParser new];
|
||||
document = RETAIN([parser document]);
|
||||
[self beginLoadInBackground];
|
||||
[sock closeFile];
|
||||
DESTROY(sock);
|
||||
if (sock != nil)
|
||||
{
|
||||
[sock closeFile];
|
||||
DESTROY(sock);
|
||||
}
|
||||
contentLength = 0;
|
||||
if ([[request objectForKey: GSHTTPPropertyProxyHostKey] length] == 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue