On Wed, May 21, 2014 at 11:12 AM, DEXTER <[email protected]> wrote:
> Hi,
>
> I'm trying to write a gnutls server where I can suspend the handshake
> procedure and then continue.
> What I'm trying to achieve is to get the SNI from the client, suspend the
> handshake, do something else depending on the SNI, then come back to the
> handshake and continue.

Hello,
 Why not do everything you need in the callback? As it is now the
callback is not designed to allow interruption as you describe it.

> The question is that is this the way one should do to continue a suspended
> handshake, or is there another way to do it?

Not that I know of. The best you can do is use the callback mechanisms.

regards,
Nikos

_______________________________________________
Gnutls-help mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnutls-help

Reply via email to