moonming commented on PR #11312:
URL: https://github.com/apache/apisix/pull/11312#issuecomment-2144342623

   > Reply to @moonming
   > 
   > > Do we need to change it to `http, stream`?
   > 
   > This should be controlled by some boolean value, e.g.
   > 
   > ```
   > proxy_mode:
   >   http: true
   >   stream: true
   > ```
   > 
   > It should even be further integrated with port settings, e.g.
   > 
   > ```
   > listen:
   >   - port: 443
   >     http: true
   >   - port: 5432
   >     stream: true
   > ```
   > 
   > These bad designs will be corrected by me (maybe), but not in this PR. 
there are many things just waiting to be revolutionized.
   
   This design was imported by https://github.com/apache/apisix/issues/9600, 
looking forword a better one.


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