Re: Show: haproxy-auth-request - HTTP access control using subrequests

2018-01-21 Thread Ciprian Dorin Craciun
On Sun, Jan 21, 2018 at 4:17 PM, Tim Düsterhus wrote: >> Quick question though: does this script actually block HAproxy's >> event loop while waiting for the response from the backend server? > > haproxy's Socket class is documented to be non-blocking, as explained > here: https://www.arpalert.or

Re: Show: haproxy-auth-request - HTTP access control using subrequests

2018-01-21 Thread Tim Düsterhus
Ciprian, Am 21.01.2018 um 13:26 schrieb Ciprian Dorin Craciun: > Nice little tool! Thank you. > Quick question though: does this script actually block HAproxy's > event loop while waiting for the response from the backend server? > > (I've read quickly through your article describing the scrip

Re: Show: haproxy-auth-request - HTTP access control using subrequests

2018-01-21 Thread Ciprian Dorin Craciun
On Fri, Jan 19, 2018 at 9:23 PM, Tim Düsterhus wrote: > https://github.com/TimWolla/haproxy-auth-request > > This Lua script reimplements the idea behind nginx' > ngx_http_auth_request_module in haproxy: It allows you to decide whether > an HTTP request should be allowed or not based on the result

Show: haproxy-auth-request - HTTP access control using subrequests

2018-01-19 Thread Tim Düsterhus
Hi there, I'd like to "advertise" my Lua script that lead to my Lua fixes of two weeks ago in the hope that someone else finds it useful: https://github.com/TimWolla/haproxy-auth-request This Lua script reimplements the idea behind nginx' ngx_http_auth_request_module in haproxy: It allows you to