LP#1268619: update JS/WS/SSL code comment
authorBill Erickson <berick@esilibrary.com>
Wed, 30 Jul 2014 16:05:36 +0000 (12:05 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 19 Aug 2014 22:54:47 +0000 (15:54 -0700)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>

src/javascript/opensrf_ws_shared.js

index 36c5baf..ad30dda 100644 (file)
@@ -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;