diff options
author | Joshua Colp <jcolp@digium.com> | 2015-08-11 07:24:30 -0300 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2015-08-12 06:49:59 -0300 |
commit | b4e9416138339274176cb87b26db905723e553ba (patch) | |
tree | 60e0521f4b3c505b4af8492b5af4df269ad82e9a /channels/chan_sip.c | |
parent | 47d9ff1741118d5594c8500dfc5b048b5e04d8a0 (diff) |
res_http_websocket: Forcefully terminate on write errors.
The res_http_websocket module will currently attempt to close
the WebSocket connection if fatal cases occur, such as when
attempting to write out data and being unable to. When the
fatal cases occur the code attempts to write a WebSocket close
frame out to have the remote side close the connection. If
writing this fails then the connection is not terminated.
This change forcefully terminates the connection if the
WebSocket is to be closed but is unable to send the close frame.
ASTERISK-25312 #close
Change-Id: I10973086671cc192a76424060d9ec8e688602845
Diffstat (limited to 'channels/chan_sip.c')
0 files changed, 0 insertions, 0 deletions