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

2017-02-22 Thread Braňo Žarnovičan
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 (mqtt). The TLS cipher is PSK (pre-shared key). There was a patch in this mailing-list adding support

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 main