[gnutls-help] heartbeat procedure
Joke de Buhr
joke at seiken.de
Tue Mar 26 12:34:47 CET 2013
sorry, during writing the email the function names got mixed up. i'm setting
gnutls_heartbeat_enable(session, GNUTLS_HB_LOCAL_ALLOWED_TO_SEND);
and on the client side and
gnutls_heartbeat_enable(session, GNUTLS_HB_PEER_ALLOWED_TO_SEND);
on the server side. nevertheless -9 (GNUTLS_E_UNEXPECTED_PACKET_LENGTH) is
returned on.
On Tuesday 26 March 2013 11:43:23 Nikos Mavrogiannopoulos wrote:
> On Tue, Mar 26, 2013 at 10:25 AM, Joke de Buhr <joke at seiken.de> wrote:
> > hi,
> >
> > if got a question regarding the heartbeat procedure. i'm using gnutls
> > 3.1.10 with heartbeat support enabled.
> > i established a working dtls session. i activated the heartbeat on one
> > side
> > (client) via
> >
> > gnutls_heartbeat_allowed(session,
> > GNUTLS_HB_LOCAL_ALLOWED_TO_SEND);
>
> Hello,
> I think you need gnutls_heartbeat_enable(). Check
> tests/mini-dtls-heartbeat.c.
>
> regards,
> Nikos
More information about the Gnutls-help
mailing list