Skar,
This behavior has existed for quite a while in client-server connections
on the web. I remember some years back having an Apache web server
spiral out of control because clients experienced load delays during
heavy usage periods and stopped/restarted their page request, causing a
further decline in response performance as an additional request got
added to the already-overloaded Apache server. Eventually, the server
memory ran out and trashed the server completely when it locked up.
I think this behavior is discussed in the standards for the handling of
http connections by both clients and servers - I don't think it's
implemented consistently across all implementations on either end. In
the end, I don't think there's a method defined in the web standards for
a client to tell the server that it doesn't need the response to the
request for some esoteric reason that likely only Al Gore remembers (he
invented the Internet, right?).
HTH,
Gene
On Wed, 2009-09-02 at 16:23 +0200, Daniel Wagner wrote:
> Hi skar,
>
> we've just briefly discussed this but couldn't come up with a solution.
> qx.io.remote.Request.abort() eventually calls the native XMLHttpRequest
> object's abort method. If there's anything you can do on the client side
> to terminate the actual TCP connection, I've never heard about it.
>
>
> Regards,
> Daniel
>
> skar schrieb:
> > Hi,
> >
> > I've got a remote request to a rails backend for search. When I timeout
> > or abort a remote request for search, the request's tcp connection is
> > still alive to the rails server and rails goes on searching thinking the
> > client is waiting still. This happens in both firefox and opera and only
> > if I close the browser, the connection is dropped and rails stops
> > processing the request. Any idea on what I need to drop the connection?
> >
> > cheers,
> > skar.
> >
>
> ------------------------------------------------------------------------------
> 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
------------------------------------------------------------------------------
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