nanamikon commented on issue #7301:
URL: https://github.com/apache/apisix/issues/7301#issuecomment-1164007195

   > > After ws upgrade, apisix will not kown how many active tcp connections 
now
   > 
   > if http upgrade to ws, the counter won't be reduced in log phase?
   
   1、client    ---- http upgrade request ---->    apisix                        
      
   2、apisix   -----http upgrade request ---->    upstream
   3、upstream   -----support upgrade, return 101 ---->  apisix
   4、apisix  -----support upgrade, return 101 ----> client
   5、client  -----  pass data through tcp channel  ----> apisix 
   6、client  -----  forward data through tcp channel  ----> upstream
   
   The counter will be added in the phase 1,    and be reduced in the phase 4。  
 After upgrade, the counter is 0 now ,  however,  there is still an active tcp 
connection


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