res/res_http_websocket: Don't send HTTP response fragmented.
authorJoshua Colp <jcolp@digium.com>
Sat, 4 Jul 2015 23:22:01 +0000 (20:22 -0300)
committerJoshua Colp <jcolp@digium.com>
Sat, 4 Jul 2015 23:26:43 +0000 (18:26 -0500)
commitf35a4b8525c86d98187c142484f254ef0ff257e9
tree94ed11b30db79dc319ecfcd64dbfac6ae11e6b1d
parent2c17515f3c53c4ec5846b1621a373ba7b5628f74
res/res_http_websocket: Don't send HTTP response fragmented.

This change makes it so that when accepting a WebSocket
connection the HTTP response is sent as one packet instead of
fragmented. Browsers don't like it when you send it fragmented.

ASTERISK-25103

Change-Id: I9b82c4ec2949b0bce692ad0bf6f7cea9709e7f69
res/res_http_websocket.c