[Help-gnutls] hang in gnutls_bye in gaim

Nikos Mavrogiannopoulos nmav at gnutls.org
Fri Mar 17 10:49:19 CET 2006


On 3/16/06, Cameron Ring <cameron at cs.stanford.edu> 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





More information about the Gnutls-help mailing list