help-gnutls
[Top][All Lists]
Advanced

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

[Help-gnutls] gnutls session termination


From: Martin Knappe
Subject: [Help-gnutls] gnutls session termination
Date: Mon, 19 Jan 2009 16:17:57 +0100

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

reply via email to

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