openresty / openresty/lua-resty-core
Support for keepalive_timeout in upstream block
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 853
- Forks
- 286
- Avg merge
- 35m
- Merged PRs (30d)
- 1
Description
http://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepalive_timeout
This directive appeared in version 1.15.3.
Sets a timeout during which an idle keepalive connection to an upstream server will stay open.
any plan to support this directive in ngx.balancer.set_timeouts()?
https://github.com/openresty/lua-resty-core/blob/master/lib/ngx/balancer.md#set_timeouts
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with ngx.balancer.set_timeouts() and the set_timeouts documentation in lib/ngx/balancer.md, then compare the API with nginx's upstream keepalive_timeout directive documentation. Done means determining whether this directive can be supported by the API and documenting or exposing that support consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, nginx
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100