181181end
182182
183183function _M .tcp_only_connect (self , ...)
184- ngx_log (ngx_WARN , " Use of deprecated `connect` method signature" )
184+ ngx_log (ngx_DEBUG , " Use of deprecated `connect` method signature" )
185185
186186 local sock = self .sock
187187 if not sock then
@@ -1014,7 +1014,7 @@ end
10141014-- ----------------------------------------------------------------------------
10151015
10161016function _M .ssl_handshake (self , ...)
1017- ngx_log (ngx_WARN , " Use of deprecated function `ssl_handshake`" )
1017+ ngx_log (ngx_DEBUG , " Use of deprecated function `ssl_handshake`" )
10181018
10191019 local sock = self .sock
10201020 if not sock then
@@ -1028,7 +1028,7 @@ end
10281028
10291029
10301030function _M .connect_proxy (self , proxy_uri , scheme , host , port , proxy_authorization )
1031- ngx_log (ngx_WARN , " Use of deprecated function `connect_proxy`" )
1031+ ngx_log (ngx_DEBUG , " Use of deprecated function `connect_proxy`" )
10321032
10331033 -- Parse the provided proxy URI
10341034 local parsed_proxy_uri , err = self :parse_uri (proxy_uri , false )
@@ -1079,7 +1079,7 @@ end
10791079
10801080
10811081function _M .proxy_request (self , chunksize )
1082- ngx_log (ngx_WARN , " Use of deprecated function `proxy_request`" )
1082+ ngx_log (ngx_DEBUG , " Use of deprecated function `proxy_request`" )
10831083
10841084 return self :request ({
10851085 method = ngx_req_get_method (),
@@ -1091,7 +1091,7 @@ end
10911091
10921092
10931093function _M .proxy_response (_ , response , chunksize )
1094- ngx_log (ngx_WARN , " Use of deprecated function `proxy_response`" )
1094+ ngx_log (ngx_DEBUG , " Use of deprecated function `proxy_response`" )
10951095
10961096 if not response then
10971097 ngx_log (ngx_ERR , " no response provided" )
0 commit comments