summaryrefslogtreecommitdiff
path: root/images
diff options
context:
space:
mode:
authorMoises Silva <moises.silva@gmail.com>2014-03-05 16:22:44 +0000
committerMoises Silva <moises.silva@gmail.com>2014-03-05 16:22:44 +0000
commite4e5cfa9b8d08806f1d3a43f15324e284f234d25 (patch)
tree14f9a06744b9426a5854011afaa6be15c6ce07d1 /images
parent0dad46d2972da0288680c94451b2edb07e45e31a (diff)
Fix WebRTC over WSS not working
Several fixes for the WebSockets implementation in res/res_http_websocket.c * Flush the websocket session FILE* as fwrite() may not actually guarantee sending the data to the network. If we do not flush, it seems that buffering on the SSL socket for outbound messages causes issues * Refactored ast_websocket_read to take into account that SSL file descriptors may be ready to read via fread() but poll() will not actually say so because the data was already read from the network buffers and is now in the libc buffers (closes issue ASTERISK-23099) (closes issue ASTERISK-21930) Review: https://reviewboard.asterisk.org/r/3248/ ........ Merged revisions 409681 from http://svn.asterisk.org/svn/asterisk/branches/11 ........ Merged revisions 409697 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@409831 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'images')
0 files changed, 0 insertions, 0 deletions