Re: [PATCH] MINOR: Add the fc_pp_authority fetch -- authority TLV, from PROXYv2

2019-08-28 Thread Geoff Simmons
On 8/28/19 17:19, Willy Tarreau wrote: > > Thank you Geoff. The code is pretty clean and straightforward, I've > now merged it. I'm pretty sure it will be very useful! Now you and Nils > have everything you need to finish your onloader project ;-) Great news, thanks for your help. It feels good t

Re: [PATCH] MINOR: Add the fc_pp_authority fetch -- authority TLV, from PROXYv2

2019-08-28 Thread Willy Tarreau
On Tue, Aug 27, 2019 at 06:31:16PM +0200, Geoff Simmons wrote: > Save the authority TLV in a PROXYv2 header from the client connection, > if present, and make it available as fc_pp_authority. > > The fetch can be used, for example, to set the SNI for a backend TLS > connection. Thank you Geoff. T

Re: [PATCH] MINOR: Add the fc_pp_authority fetch -- authority TLV, from PROXYv2

2019-08-27 Thread Geoff Simmons
This is with the fix for the misplaced #endif spotted by Emmanuel, thx again. Geoff -- ** * * UPLEX - Nils Goroll Systemoptimierung Scheffelstraße 32 22301 Hamburg Tel +49 40 2880 5731 Mob +49 176 636 90917 Fax +49 40 42949753 http://uplex.de signature.asc Description: OpenPGP digital sign

[PATCH] MINOR: Add the fc_pp_authority fetch -- authority TLV, from PROXYv2

2019-08-27 Thread Geoff Simmons
Save the authority TLV in a PROXYv2 header from the client connection, if present, and make it available as fc_pp_authority. The fetch can be used, for example, to set the SNI for a backend TLS connection. --- doc/configuration.txt | 4 include/proto/connection.h | 7 +++ include/

Re: [PATCH] MINOR: Add the fc_pp_authority fetch -- authority TLV from PROXYv2

2019-08-27 Thread Geoff Simmons
On 8/27/19 18:15, Emmanuel Hocdet wrote: > >> @@ -630,6 +631,17 @@ int conn_recv_proxy(struct connection *conn, int flag) >> conn->proxy_netns = ns; >> break; >> } >> + >> +

Re: [PATCH] MINOR: Add the fc_pp_authority fetch -- authority TLV from PROXYv2

2019-08-27 Thread Emmanuel Hocdet
Hi Geoff, For: > > @@ -630,6 +631,17 @@ int conn_recv_proxy(struct connection *conn, int flag) > conn->proxy_netns = ns; > break; > } > + > + case PP2_TYP

[PATCH] MINOR: Add the fc_pp_authority fetch -- authority TLV from PROXYv2

2019-08-27 Thread Geoff Simmons
Save the authority TLV sent in a PROXYv2 header from the client connection, if present, and make it available as fc_pp_authority. The fetch can be used, for example, to set the SNI for a backend TLS connection. --- doc/configuration.txt | 4 include/proto/connection.h | 7 +++ inc