openresty / openresty/lua-nginx-module
Possible to support `tcpsock:receive` in `balancer_by_lua` context?
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 11.8k
- Forks
- 2.1k
- Avg merge
- 6h 1m
- Merged PRs (30d)
- 6
Description
If openresty support tcpsock:receive in balancer_by_lua context, this will allows the user to parse custom tcp protocal and set upstream backend for each package (not for each connection).
It will make openresty become a generic tcp proxy framework.
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 reviewing the existing balancer_by_lua context and tcpsock:receive handling in this module; the issue names no source file or test. Clarify the supported receive semantics and per-package upstream-selection behavior, then add coverage demonstrating the requested TCP proxy use case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, lua, nginx
- Domain
- backend, networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100