mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
Try to cope with failure of remote end to respond to tls shutdown.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37417 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ce7b612350
commit
fab72a3218
5 changed files with 50 additions and 26 deletions
|
@ -197,9 +197,13 @@ typedef ssize_t (*GSTLSIOW)(gnutls_transport_ptr_t, const void *, size_t);
|
|||
*/
|
||||
- (BOOL) active;
|
||||
|
||||
/* Disconnects and closes down the session.
|
||||
/* Disconnects and closes down the session.<br />
|
||||
* The reusable flag specifies whether we intend to reuse the underlying
|
||||
* connection.<br />
|
||||
* Returns YES on success, NO if the shutdown did not complete cleanly
|
||||
* and the underlying connection cannot be reused.
|
||||
*/
|
||||
- (void) disconnect;
|
||||
- (BOOL) disconnect: (BOOL)reusable;
|
||||
|
||||
/* Try to complete a handshake ... return YES if complete, NO if we need
|
||||
* to try again (would have to wait for the remote end).<br />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue