Unable to close connection via "connection": "close" header.
Open
Nobody has claimed this yet.
bug
- Dominant language
- Lua
- Stars
- 81
- Forks
- 41
- PR merge metrics
- No merged PRs in 30d
Description
Seems it should be headers.connection, but not p.headers.connection. If we return headers['connection'] = 'closes' it actually ignores.
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 by inspecting http/server/init.lua at lines 245-251, especially how the request headers are accessed when deciding whether to close the connection. Reproduce the reported behavior with a response containing the Connection: close header, then verify that the connection closes as expected and that the incorrect value is not treated as equivalent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 52/100