[Laszlo-dev] For Review: Change 20071106-hqm-4 Summary: don't issue timeout on aborted request

Max Carlson max at openlaszlo.org
Wed Nov 7 15:36:14 PST 2007


I believe adding support for the OpenAjax hub and using that to 
communicate with DWR is the best approach to replacing the persistent 
connection.  More on DWR here:
http://getahead.org/dwr

and the OpenAjax hub here:
http://sourceforge.net/projects/openajaxallianc

Here's a demo that shows this is possible:
http://ajaxian.com/archives/openajax-hub-dwr-tibco-lightstreamer-example

Henry Minsky wrote:
> The persistent connection stuff tried to hold a connection open as
> long as possible, and then reopen it again
> when it dropped. So I guess that was part of that mechanism.
> 
> However, we're dropping support for the existing persistent connection
> mechanism; it depends on the now-deprecated and probably broken
> HTTPDataSource API, and when I put in the new HTTPDataProvider API, I
> didn't have time to update the the old persistent connection code.
> 
> Going forward, we should see if we can find a replacement for the
> persistent connection feature, perhaps
> there is some third-party library that would work.
> 
> 
> On Nov 7, 2007 6:17 PM, André Bargull <a.bargull at intensis.de> wrote:
>> Approved!
>>
>> I'm just curious whether you know the answer of this question?
>> // [2005-08-25 ptw] So, we don't want to mark the clip as loaded
>> // if this is a persistent connection?  Not sure what that means.
>>
>>
>> On 11/6/2007 8:20 PM, Henry Minsky wrote:
>>> Change 20071106-hqm-4 by hqm at IBM-2E06404CB67 on 2007-11-06 14:13:59 EST
>>>     in /cygdrive/c/users/hqm/openlaszlo/trunk/WEB-INF/lps/lfc
>>>     for http://svn.openlaszlo.org/openlaszlo/trunk/WEB-INF/lps/lfc
>>>
>>> Summary: don't issue timeout on aborted request
>>>
>>> New Features:
>>>
>>> Bugs Fixed: LPP-5037
>>>
>>> Technical Reviewer: andre
>>> QA Reviewer: max
>>> Doc Reviewer:
>>>
>>> Documentation:
>>>
>>> Release Notes:
>>>
>>> Details:
>>>
>>> If the program explicitly aborted the request, we should assume that
>>> it doesn't want to get a timeout event.
>>>
>>>
>>> Tests:
>>>
>>> see test case in bug report
>>>
>>>
>>>
>>> Files:
>>> M      kernel/swf/LzLoader.lzs
>>>
>>>
>>> Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20071106-hqm-4.tar
>>>
>>>
>>>
> 
> 
> 

-- 
Regards,
Max Carlson
OpenLaszlo.org


More information about the Laszlo-dev mailing list