lua-resty-http
lua-resty-http copied to clipboard
Lua HTTP client cosocket driver for OpenResty / ngx_lua.
When I use the code like: ``` httpc:connect( { scheme = scheme, host = host, port = port, ssl_client_cert = ssl_client_cert, ssl_client_priv_key = ssl_client_priv_key } ) ``` The `ssl_client_cert` and...
``` local function send_mirror_request(premature, method, url, headers, body) local httpc = http.new() headers['dev-mirror'] = "1" local res, err = httpc:request_uri(url, { version = 1.1, method = method, headers = headers,...
Remove unconditional logging of poolname (added in #307). It's polluting logs, and OpenResty doesn't have fine-grained log filtering. If you want to keep this - how about logging it when...
Hello, There might be cases that doing request_uri without read the whole body (for example, better support for AI chat application sse proxy)
I've logged this as a bug over in the lua-nginx-module repo but incase it's a bug in this code base instead thought I would log it here as well. https://github.com/openresty/lua-nginx-module/issues/2372...
We plan to use Lua code blocks to call external services to record some logs in Nginx services, But the pressure test found poor performance and high latency. I found...