You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/11/11 02:51:47 UTC

[GitHub] [apisix] tzssangglass edited a comment on issue #5440: request help: the connection established by the Websocket proxy client will be automatically disconnected by the server in about 5 seconds

tzssangglass edited a comment on issue #5440:
URL: https://github.com/apache/apisix/issues/5440#issuecomment-965942729


   @loongzh @tokers @shuaijinchao 
   after testing, I have some conclusions:
   1. the `timeout` configuration affect websocket connecrtion, the connection will be closed if the proxied server does not transmit any data, APISIX will actively disconnect the connection, which is expect behavior.
   2. client needs to actively maintain a heartbeat with the server to prevent disconnection
   
   also see: https://nginx.org/en/docs/http/websocket.html?_ga=2.219808217.1349535884.1636598551-1257987705.1633943387


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org