From: Nikos Mavrogiannopoulos Date: Wed, 8 Feb 2012 23:58:42 +0000 (+0100) Subject: prevent sending EOF to caller. X-Git-Tag: gnutls_3_0_13~103 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a5cd65eb414de857af984ed8fb6ad6b17d02cc1;p=thirdparty%2Fgnutls.git prevent sending EOF to caller. --- diff --git a/lib/gnutls_record.c b/lib/gnutls_record.c index 460db36266..a7008c085c 100644 --- a/lib/gnutls_record.c +++ b/lib/gnutls_record.c @@ -678,6 +678,7 @@ record_add_to_buffers (gnutls_session_t session, if (_dtls_is_async(session) && _dtls_async_timer_active(session)) { ret = _dtls_retransmit(session); + if (ret == 0) ret = GNUTLS_E_AGAIN; goto cleanup; } }