ledgetech / ledgetech/lua-resty-http
request_uri 设置连接池看起来没有作用咋回事
Open
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 2.1k
- Forks
- 630
- PR merge metrics
- No merged PRs in 30d
Description
访问一个接口 ,大致使用如下代码实现

第一次访问是正常的

紧接着第二次就会出错

按理说设置了连接池不应该这样啊
而且我发现无论如何访问 都是一次正常访问 一次会出现超时情况 很奇怪
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
No source file, test, or entry point is named; start by reproducing the shown request_uri usage and inspecting the connection-pool behavior around successive requests. Done means determining why alternating requests time out and documenting or correcting the confirmed cause.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, nginx
- Domain
- backend, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100