Re: [PATCH] do the handshake if we can't send early data

2017-11-22 Thread Willy Tarreau
On Wed, Nov 22, 2017 at 07:15:07PM +0100, Olivier Houchard wrote: > And a second patch on top of this one. We should not stop trying to read > early data until SSL_read_early_data() returns SSL_READ_EARLY_DATA_FINISH. Both patches applied, thanks! Willy

Re: [PATCH] do the handshake if we can't send early data

2017-11-22 Thread Olivier Houchard
On Wed, Nov 22, 2017 at 05:42:42PM +0100, Olivier Houchard wrote: > Hi, > > We mistakely only try to go back to the SSL handshake when not able to send > early data if we're acting as a client, that is wrong, and leads to an > infinite loop if it happens on the server side. > The attached patch sh

[PATCH] do the handshake if we can't send early data

2017-11-22 Thread Olivier Houchard
Hi, We mistakely only try to go back to the SSL handshake when not able to send early data if we're acting as a client, that is wrong, and leads to an infinite loop if it happens on the server side. The attached patch should fix this. Regards, Olivier >From 2c011f4bfa515495c47c2495510ee01b199d4a