set into non-blocking mode

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35847 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2012-12-05 10:13:10 +00:00
parent 93d6b3c135
commit ca5f252894
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2012-12-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileHandle: ([-sslHandshakeEstablished:outgoing:])
Set the connection into non-blocking mode so that the handshake
will not block if the other end refuses to talk to us.
2012-12-01 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m (-XMLStringWithOptions:): Use macros for

View file

@ -1015,6 +1015,7 @@ GSTLSHandlePush(gnutls_transport_ptr_t handle, const void *buffer, size_t len)
[d release];
}
}
[self setNonBlocking: YES];
session = [[GSTLSSession alloc] initWithOptions: opts
direction: isOutgoing
transport: (void*)self