Re: TLS-PSK: making a http(s) lookup call from inside haproxy code

2017-02-23 Thread Braňo Žarnovičan
Thanks for the insight from both of you.. I have spent couple of hours browsing through the code and realized that even if async io would be possible in PSK callback, I would have really hard time wrap my head around it. The learning curve is just too steep (not to mention post-implementation

Re: TLS-PSK: making a http(s) lookup call from inside haproxy code

2017-02-23 Thread Christopher Faulet
Le 22/02/2017 à 16:02, thierry.fourn...@arpalert.org a écrit : On Wed, 22 Feb 2017 15:43:36 +0100 Braňo Žarnovičan wrote: Options: (a) implement lookup call in C I should be able to whip up simple http 1.0 request via low-level socket programming. However, I would like

Re: TLS-PSK: making a http(s) lookup call from inside haproxy code

2017-02-22 Thread thierry . fournier
On Wed, 22 Feb 2017 15:43:36 +0100 Braňo Žarnovičan wrote: > Hi, > > a need to call an external http (preferably https) service from > HAproxy code. What's the easiest way to achieve that ? > > Context: > I would like HAproxy to do TLS termination for non-http traffic >