openresty / openresty/stream-lua-nginx-module

when use ngx_stream_lua_preread_handler ,it returns NGX_OK when finished

Open
#225 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
749
Forks
210
Avg merge
4h 31m
Merged PRs (30d)
3

Description

I add 2 preread handler, first it runs lua preread handler, but lua preread handler return NGX_OK when finised. the problem is that the seconed preread handler is not called

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

Start by tracing the ngx_stream_lua_preread_handler entry point and how two preread handlers are sequenced. Reproduce the case with a Lua preread handler followed by a second preread handler, then verify that the second handler is called after the first returns NGX_OK.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, lua
Domain
backend, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.