openresty / openresty/test-nginx

Enhancement: ADD stream listen option like reuse or proxy_protocol

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

Nobody has claimed this yet.

Dominant language
Perl
Stars
456
Forks
112
PR merge metrics
No merged PRs in 30d

Description

background

When I use the stream module to test stream proxy_protocol,
It can not add not a listen option like [reuse] or [proxy_protocol];

so that I can add to configure easily, we can only use add_block_preprocessor to do this;

Solution

Enhancement: ADD stream listen option so that we can use short case easy

Design

Naming: steam_listen_option

Use Case

--- steam_listen_option
proxy_protocol

--- steam_listen_option2
proxy_protocol

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 examining how existing stream listen options such as reuse and proxy_protocol are handled, then compare that with the current add_block_preprocessor workaround. Verify the stream proxy_protocol test case and define the expected syntax for steam_listen_option before implementing and testing the new option.

Written by the indexing model from the issue text.

Assessment

Tech stack
nginx, perl
Domain
testing-qa, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
40/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.