help-gnutls
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gnutls] hang in gnutls_bye in gaim


From: Nikos Mavrogiannopoulos
Subject: [Help-gnutls] hang in gnutls_bye in gaim
Date: Fri, 17 Mar 2006 10:49:19 +0100

On 3/16/06, Cameron Ring <address@hidden> wrote:

> from the application side, i guess i could grab the transport ptr and set
> a timeout on the socket before calling gnutls_bye. does that sound
> reasonable?

Check Simon's reply. An alternative way would be to use the SHUT_WR
option to gnutls_bye(). That way you don't have to wait for the peer to reply
with a close request.

But in any case you may want to handle timeouts because you may also
get hang in a gnutls_record_recv() call.

regards,
Nikos




reply via email to

[Prev in Thread] Current Thread [Next in Thread]