This is an automated email from the ASF dual-hosted git repository.

membphis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new cce4f51  chore: add a deprecate log for enable_websocket in upstream 
(#2691)
cce4f51 is described below

commit cce4f516c00325f5b9ed5a2018dab4640da3a740
Author: 罗泽轩 <[email protected]>
AuthorDate: Sun Nov 15 19:40:37 2020 +0800

    chore: add a deprecate log for enable_websocket in upstream (#2691)
---
 apisix/init.lua | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/apisix/init.lua b/apisix/init.lua
index 4393488..b591e36 100644
--- a/apisix/init.lua
+++ b/apisix/init.lua
@@ -452,6 +452,8 @@ function _M.http_access_phase()
             end
 
             if upstream.value.enable_websocket then
+                core.log.warn("DEPRECATE: enable websocket in upstream will be 
removed soon. ",
+                              "Please enable it in route/service level.")
                 enable_websocket = true
             end
 

Reply via email to