Bill, I think we will need some more input from you in order to investigate this.
Could you please create a JIRA ticket, preferably with a minimal example application attached and the steps to reproduce the behaviour? https://issues.apache.org/jira/browse/PIVOT I haven't used the org.apache.pivot.web package myself, but it looks like wrappers for java.net.URL & java.net.HttpURLConnection. If you take Pivot out of the picture and use those directly, do you still see the issue? Chris On 1 February 2011 08:31, Bill van Melle <[email protected]> wrote: > I'm having an issue where I call GetQuery.execute, but neither > the taskExecuted nor the executeFailed methods of my TaskListener are being > called. Should this ever happen? It happens for me if the Mac sleeps while > the call is in progress. There is also some other condition that does it > that I haven't quite been able to nail down. > > (More info: the GetQuery is a "long poll" to a server that doesn't return > until new information is available (or a timeout passes). When the call > returns, my program processes the result, and issues another query. > Naturally, if the call never returns, the program stops updating -- not > good. I'd hate to have to add logic that detects this condition and > restarts the long poll cycle.) > > > >
