-
February 27th, 2015, 11:03 AM
#1
Mixing SSL and non-SSL
I would like to create a situation where the browser is connected to the HTTP server via SSL, but connects to the LS server without using SSL.
I tried setting the server address to the non-SSL URI the
Code:
setServerAddress(Uri);
but when I do that the LS client doesn't even attempt to make a connection. It only seems to try to connect if the protocol used in the URI passed to setServerAddress matches the document.location.protocol setting.
So the question is, am I able to do this sort of thing or not?
The reason I need to try this is that the connection to the LS server using SSL seems to be too slow. It seems to take quite a while to connect compared to the non-SSL protocol (presumably some sort of lengthy negotiation talking place). Also, the LS server itself seems to consume an abnormal amount of CPU when SSL connections are being used.
Similar Threads
-
By GarrettMackey in forum General
Replies: 2
Last Post: October 20th, 2011, 01:11 PM
-
By bartol82 in forum Adapter SDKs
Replies: 1
Last Post: August 30th, 2011, 10:15 AM
-
By Mone in forum Client SDKs
Replies: 0
Last Post: February 21st, 2011, 04:16 PM
-
By EWANG in forum Client SDKs
Replies: 1
Last Post: October 9th, 2009, 10:46 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 11:51 AM.
Bookmarks