mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-21 04:32:03 +00:00
quicker resource cleanup on handshake failure
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37273 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f8d4ae3dfe
commit
f46a145ba4
3 changed files with 11 additions and 8 deletions
|
@ -1071,6 +1071,8 @@ debugWrite(GSHTTPURLHandle *handle, NSData *data)
|
|||
if (debug)
|
||||
NSLog(@"%@ %p %s Failed to make ssl connect",
|
||||
NSStringFromSelector(_cmd), self, keepalive?"K":"");
|
||||
[sock closeFile];
|
||||
DESTROY(sock);
|
||||
[self endLoadInBackground];
|
||||
[self backgroundLoadDidFailWithReason:
|
||||
@"Failed to make ssl connect"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue