]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_http_websocket: websocket write timeout fails to fully disconnect
authorKevin Harwell <kharwell@digium.com>
Wed, 11 Feb 2015 17:52:35 +0000 (17:52 +0000)
committerKevin Harwell <kharwell@digium.com>
Wed, 11 Feb 2015 17:52:35 +0000 (17:52 +0000)
commit8be00450b93c4a1edfb82f884022f431b9c3d457
tree9296f3700c5292b53d69b77782f71a83e8a48cb7
parent340588c721fb7a8d03247b5ef86b31bca066af4b
res_http_websocket: websocket write timeout fails to fully disconnect

When writing to a websocket if a timeout occurred the underlying socket did not
get closed/disconnected. This patch makes sure the websocket gets disconnected
on a write timeout. Also a notice is logged stating that the websocket was
disconnected.

ASTERISK-24701 #close
Reported by: Matt Jordan
Review: https://reviewboard.asterisk.org/r/4412/
........

Merged revisions 431669 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 431670 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/certified/branches/13.1@431697 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/ari/ari_websockets.c
res/res_http_websocket.c