shreemaan-abhishek opened a new pull request, #13153:
URL: https://github.com/apache/apisix/pull/13153

   ## Summary
   - Allows specifying port ranges (e.g., `"9100-9200"`) in `stream_proxy` 
TCP/UDP configuration
   - Leverages nginx native port range support for batch listeners
   - Adds `validate_port_or_range()` validation with comprehensive error 
checking
   - Supports all forms: plain ranges, address:range, and table form with TLS
   
   Backport from api7/api7-ee-3-gateway#1272.
   
   ## Test plan
   - [x] TCP port range generates correct `listen` directive in nginx.conf
   - [x] UDP port range with `udp` flag
   - [x] Address with port range (e.g., `127.0.0.1:2000-2005`)
   - [x] Object form with TLS enabled
   - [x] Mixed entries (ranges + individual ports + addresses)
   - [x] Backward compatibility with existing config formats
   - [x] Negative cases: port 0, port 65536, reversed range, float ports, 
missing port, etc.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to