]> 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 16:46:12 +0000 (16:46 +0000)
committerKevin Harwell <kharwell@digium.com>
Wed, 11 Feb 2015 16:46:12 +0000 (16:46 +0000)
commitb1720c411def49a55079f9c669e2735e34a16d4c
tree86042b7ff48bd3e01da80db63fab6d83ab40c4bf
parent9d5c52f10b6e0e1db97b12f0b428af6dfc3ceab9
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.

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@431669 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_http_websocket.c