On Mon, 2015-01-26 at 15:57 +0100, [email protected] wrote: > > Based on the error you see, I'd bet that you either receive or send > > by > > the parent when the child already exists. > Yes. Indeed. > The parent process send a last message on the socket before it is given to > the child. > Is it the cause of the error ?
Yes, TLS is a stateful protocol. In that case you modify the state and then you continue from a previous state in the child. You have to send your last message either from the child itself, or before it is created. > In that case, what could I do to prevent it ? > For example in the child I could use a gnutls "reset" function ? I was thinking to add a function to serialize the session data and deserialize them on a different process, but I never got to finish it; so the answer is there is no reset function. regards, Nikos _______________________________________________ Gnutls-help mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnutls-help
