[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-gnutls] UNEXPECTED_PACKET_LENGTH errors
From: |
Timo Sirainen |
Subject: |
[Help-gnutls] UNEXPECTED_PACKET_LENGTH errors |
Date: |
Mon Sep 2 21:53:02 2002 |
User-agent: |
Mutt/1.4i |
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?
- [Help-gnutls] UNEXPECTED_PACKET_LENGTH errors,
Timo Sirainen <=