[Help-gnutls] UNEXPECTED_PACKET_LENGTH errors
tss at iki.fi
Mon Sep 2 21:53:02 CEST 2002
I'm wondering a bit how I should deal with UNEXPECTED_PACKET_LENGTH errors
coming from gnutls_record_recv() each time connection is unexpectedly
terminated (eg. hitting ^C in gnutls-cli).
Shouldn't gnutls_record_recv() instead just return 0 to indicate that the
connection was closed? Or is this expected behaviour and I should simply
ignore all packet length errors?
More information about the Gnutls-help