ledgetech / ledgetech/lua-resty-http

request_uri 设置连接池看起来没有作用咋回事

Open
#281 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
2.1k
Forks
630
PR merge metrics
No merged PRs in 30d

Description

访问一个接口 ,大致使用如下代码实现
image

第一次访问是正常的
image
紧接着第二次就会出错
image
按理说设置了连接池不应该这样啊

而且我发现无论如何访问 都是一次正常访问 一次会出现超时情况 很奇怪

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.