[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Patch] Fix nonblocking DTLS
From: |
Nikos Mavrogiannopoulos |
Subject: |
Re: [Patch] Fix nonblocking DTLS |
Date: |
Wed, 15 Feb 2012 15:05:38 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111114 Icedove/3.1.16 |
On 02/15/2012 03:55 AM, Sean Buckheister wrote:
> Hi,
>
> after seeing lots and lots of failures in nonblocking DTLS handshakes, I
> went digging through code and packet traces. I found that a gnutls
> server will not retransmit it's last handshake flight for nonblocking,
> nonresuming session, while the client would continue to request such
> retransmission by duplicating it's respective last flight. Ultimately,
> this would lead to timeouts.
> The offending piece of code is gnutls_dtls.c, _dtls_transmit, lines
> 254-255. Removing those sort of fixed DTLS -nb, i.e. all 18432 handshake
> sequence trials of dtls-stress passed. make check passed as well.
Thank you for debugging it and figuring it out. I've commited the fix.
regards,
Nikos