> On Mon, Jan 26, 2015 at 3:18 PM, <[email protected]> wrote: > >> Could you explain this scenario more? What do you mean by fork to > >> proxy messages? Do you work the gnutls session, and send using the > >> same session from two processes? > >> > >> regards, > >> Nikos > > The session init, connect and handshake are done in the parent > > process. > > A first exchange of messages (send/recv) takes place and works > > well. > > Then both ends fork to continue their exchanges. > > Child process has duplicated sockets and memory (so session should > > be ok ?). > > Based on the error you see, I'd bet that you either receive or send > by > the parent when the child already exists. > > regards, > Nikos
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 ? In that case, what could I do to prevent it ? For example in the child I could use a gnutls "reset" function ? Is Michel _______________________________________________ Gnutls-help mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnutls-help
