[asterisk-bugs] [JIRA] (ASTERISK-24701) Stasis: Write timeout on WebSocket fails to fully disconnect underlying socket, leading to events being dropped with no additional information
Matt Jordan (JIRA)
noreply at issues.asterisk.org
Fri Jan 16 10:35:34 CST 2015
Matt Jordan created ASTERISK-24701:
--------------------------------------
Summary: Stasis: Write timeout on WebSocket fails to fully disconnect underlying socket, leading to events being dropped with no additional information
Key: ASTERISK-24701
URL: https://issues.asterisk.org/jira/browse/ASTERISK-24701
Project: Asterisk
Issue Type: Bug
Security Level: None
Reporter: Matt Jordan
By default, the Websocket connection to an ARI application has a write timeout of 100ms. That's kind of short, and in an especially busy system, you'll get a disconnect if the client fails to keep up with a burst of messages.
The write timeout is configurable in {{ari.conf}}, so it can be bumped up. However, if a write timeout does occur, the following should happen:
# The Websocket should be disconnected
# {{res_stasis}} should be notified. A NOTICE should be displayed that a disconnect occurred.
# When a Websocket reconnects for the application, at a minimum, it should receive the count of messages dropped since the last connection.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list