[Help-gnutls] gnutls session termination

Martin Knappe martin.knappe at gmail.com
Mon Jan 19 16:17:57 CET 2009


hi

i have a gnutls server and clients.
they both run in their own vm's so i'm emulating a situation where both run
on different machines
my problem is the following:

1)
server and client establish connection
while the client is sending something to the server via gnutls_record_send,
the server process is killed (kill -9 pid)
no signal handler is installed here
the server process is killed and the call to gnutls_record_send on the
client side fails -> this is the desired behaviour

but now:

2)

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!

what can i do here?

using gnutls version 1.4.4

thanks

martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20090119/cec63f3e/attachment.htm>


More information about the Gnutls-help mailing list