openresty / openresty/stream-lua-nginx-module
ngx.var.bytes_received!!!
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 749
- Forks
- 210
- Avg merge
- 4h 31m
- Merged PRs (30d)
- 3
Description
I have tried to set the socket to accept data bytes in both pre and content phases_ Received is always 0?
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
The report concerns ngx.var.bytes_received and socket handling during the pre and content phases, but it names no implementation file or test. Start by tracing the ngx.var and phase-handling paths in the stream Lua module and reproduce the reported zero value; done means identifying whether received bytes are exposed correctly and adding or updating coverage for the relevant phase.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, nginx
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100