projects
/
OpenSRF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c65c6d9
)
LP#1268619: update JS/WS/SSL code comment
author
Bill Erickson
<berick@esilibrary.com>
Wed, 30 Jul 2014 16:05:36 +0000
(12:05 -0400)
committer
Galen 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
patch
|
blob
|
history
diff --git
a/src/javascript/opensrf_ws_shared.js
b/src/javascript/opensrf_ws_shared.js
index
36c5baf
..
ad30dda
100644
(file)
--- 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;