From: Bill Erickson Date: Wed, 30 Jul 2014 16:05:36 +0000 (-0400) Subject: LP#1268619: update JS/WS/SSL code comment X-Git-Tag: osrf_rel_2_4_0-alpha~15 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=755a58642281246df280877f7ad480503b1ddc4b;p=OpenSRF.git LP#1268619: update JS/WS/SSL code comment Signed-off-by: Bill Erickson Signed-off-by: Galen Charlton --- diff --git a/src/javascript/opensrf_ws_shared.js b/src/javascript/opensrf_ws_shared.js index 36c5baf..ad30dda 100644 --- a/src/javascript/opensrf_ws_shared.js +++ b/src/javascript/opensrf_ws_shared.js @@ -106,10 +106,7 @@ function send_to_websocket(message) { // we have no websocket or an invalid websocket. build a new one. - // TODO: - // assume non-SSL for now. SSL silently dies if the cert is - // invalid and has not been added as an exception. need to - // explain / document / avoid this better. + // assume SSL at all times var path = 'wss://' + location.host + ':' + WEBSOCKET_PORT_SSL + WEBSOCKET_URL_PATH;