Hello,
I'm currently implementing a heartbeat sequence in my project, and I'm encountering a few hiccups, namely trying to get a pong after a ping, and receiving a GNUTLS_E_UNEXPECTED_PACKET. After a few investigations I diagnocised a potential error on my behalf. I enable heartbeat with the function gnutls_heartbeat_enable(session, GNUTLS_HB_LOCAL_ALLOWED_TO_SEND) in order to be able to send pings (heartbeat.c line 171) but this configuration generates the previous error when reaching the function _gnutls_heartbeat_handle (heartbeat.c line 323) due to needing the function gnutls_heartbeat_enable(session, GNUTLS_HB_PEER_ALLOWED_TO_SEND). is it possible to configure gnutls_heartbeat_enable with both GNUTLS_HB_LOCAL_ALLOWED_TO_SEND and GNUTLS_HB_PEER_ALLOWED_TO_SEND at the same time? best regards Olivier SOLDANO Savoir Faire Linux Project RING _______________________________________________ Gnutls-help mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnutls-help
