Applenice commented on a change in pull request #4524:
URL: https://github.com/apache/apisix/pull/4524#discussion_r666970233



##########
File path: apisix/cli/ngx_tpl.lua
##########
@@ -57,7 +57,7 @@ env {*name*};
 {% end %}
 {% end %}
 
-{% if stream_proxy then %}
+{% if stream then %}

Review comment:
       Indeed, if the stream function is not used, it is redundant. Then revert 
to this?
   ```
   stream_proxy: # TCP/UDP proxy
     tcp: # TCP proxy address list
       - 9100
       - "127.0.0.1:9101"
     udp: # UDP proxy address list
       - 9200
       - "127.0.0.1:9211"
     lua_shared_dict:
       lrucache_lock_stream: 10m
   ```
   Is there a good way to enable it by default in stream_proxy?
   




-- 
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