[Help-gnutls] gnutls session termination

Nikos Mavrogiannopoulos nmav at gnutls.org
Mon Jan 19 20:54:35 CET 2009

Martin Knappe wrote:

> server and client establish connection
> while the client is sending something to the server via gnutls_record_send,
> the server vm is reset (like the "real" machine was unplugged)
> the client process hangs in gnutls_record_send and doesnt come back!
> what i want here is of course the the client return from gnutls_record_send!

The same as you would do for send(). gnutls_recond_send doesn't block,
only send blocks, thus you must check the relevant socket options.


More information about the Gnutls-help mailing list