Use this in the playground:

var request = new qx.io.remote.Request("http://localhost:8080/phpinfo.php";);
// this must point to a really existing file
request.addListener("completed",function(response){
  this.info("done!");
  thisWillThrowAnError();
});
request.send();

Expected behavior:

The request ends normally. A syntax error is displayed.

Observed behavior:

No error is displayed. After a while, a timeout is displayed.

Thanks for looking into this.

Christian 



Derrell Lipman wrote:
> 
> On Thu, Sep 3, 2009 at 10:11, Ian Horst <[email protected]> wrote:
> 
>> I'm back to development in qooxdoo. And struggle to figure out why my
>> last 2 out of 5 requests in queue time out. FF3.5.2, firebug disabled
>> to confirm it doesn't affect known issue with xmlhttprequest.
>>
>> Qooxdoo trunk 19987
>>
>> When I enable firebug, I can see that xmlhttprequests do take less
>> than 3 seconds to complete.
>>
>> Any idea why it happens?
>>
> 
> Someone else mentioned something similar recently. The timer is supposed
> to
> become irrelevant once the state changes to "completed" but it seems that
> maybe the timer isn't being "cancelled" before calling your handler.
> Please
> display a debug message at entry to and exit from your request completion
> handler for the message, to determine whether the timer for the request is
> still active while your handler is in progress (and possibly running for
> "too long").
> 
> Derrell
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day 
> trial. Simplify your report design, integration and deployment - and focus
> on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 

-- 
View this message in context: 
http://www.nabble.com/qx.io.remote.*%3A-State%3A-timeout-tp25276953p25336330.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to