RE: Patch for ALPN compatibility with OpenSSL development

2014-02-16 Thread Lukas Tribus
Hi, I’ve updated the patch which now does actual negotiation. The logic comes from the example OpenSSL server application that also was committed in the commit that adds ALPN support to OpenSSL: Great, it works correctly now. When negotiating spdy I now get a ERR_SPDY_PROTOCOL_ERROR in

Re: Patch for ALPN compatibility with OpenSSL development

2014-02-16 Thread Dirkjan Bussink
Hi all, Yes, of course! The ALPN patch was an early incantation I did based on initially available patches so that people could start to experiment with it. Now that we're finally getting closer to something official in openssl, better stick to it! Dirkjan, could you please adjust your

Re: Patch for ALPN compatibility with OpenSSL development

2014-02-16 Thread Willy Tarreau
On Sun, Feb 16, 2014 at 07:45:08PM +0100, Dirkjan Bussink wrote: Hi all, Yes, of course! The ALPN patch was an early incantation I did based on initially available patches so that people could start to experiment with it. Now that we're finally getting closer to something official in

Re: Patch for ALPN compatibility with OpenSSL development

2014-02-15 Thread Dirkjan Bussink
On 14 Feb 2014, at 21:35, Lukas Tribus luky...@hotmail.com wrote: From the openssl source file ssl/ssl_lib.c: /* SSL_CTX_set_alpn_select_cb sets a callback function on |ctx| that is called * during ClientHello processing in order to select an ALPN protocol from the * client's list of

Patch for ALPN compatibility with OpenSSL development

2014-02-13 Thread Dirkjan Bussink
Hi all, At GitHub we’ve worked on a patch to make HAProxy’s ALPN code compatible with the patches for it that have landed in OpenSSL: http://git.openssl.org/gitweb/?p=openssl.git;a=commit;h=6f017a8f9db3a79f3a3406cf8d493ccd346db691 This final version is slightly different from what HAProxy