-
June 18th, 2010, 03:26 PM
#1
After some analysis I found that our application sets as default HTTP request creator the ClientHttp one, instead of the default BrowserHttp. Doing this seems to somehow have side effects on the normal operations of Lightstreamer's API.
For the time being, I have worked that around by forcing the usage of BrowserHttp creator for requests created to the Lightstreamer URL, and now the browser process shuts cleanly down when its window is closed.
Thank you,
Emilio
PS
As a side note, I observed that I was not able to establish a streaming connection when using ClientHttp creator. I can now do that using BrowserHttp.
-
June 21st, 2010, 02:59 PM
#2
Ok; admittedly, the ClientHttp configuration case is not handled by the library properly; it doesn't support streaming and, upon a streaming answer from the Server, the Silverlight runtime keeps a reading thread open, which prevents the whole process from closing until the answer has finished.
For the next release, our plans are to force the library to lean on the BrowserHttp case.
In principle, the issue may be related not only with the ClientHttp, but also with other cases in which the streaming answer is buffered.
This is because, even though the Stream-sense mechanism can overcome the problem by opening a polling session, it cannot force the closure of the streaming connection.
We will work on improving this aspect.
Anyway, our tests have always shown that, when the streaming connection is blocked by something in the middle (for instance, a proxy), the Silverlight runtime behaves differently and there is nothing preventing the process from closing.
Similar Threads
-
By cara713 in forum Client SDKs
Replies: 1
Last Post: January 13th, 2012, 08:54 AM
-
By kkrisjoy in forum Client SDKs
Replies: 7
Last Post: December 17th, 2010, 09:30 AM
-
By chuan_ckc in forum Client SDKs
Replies: 7
Last Post: December 17th, 2009, 10:15 AM
-
By gjoseph in forum Client SDKs
Replies: 1
Last Post: November 13th, 2009, 11:14 AM
-
By markgoldin in forum Client SDKs
Replies: 5
Last Post: September 26th, 2008, 11:28 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 07:26 AM.
Bookmarks