Community
Participate
Working Groups
Right now, if the request that is being executed hangs forever and does not respond to cancellation, webutil will continue to wait. There should be a way to provide a timeout for the length to wait after a cancellation before assuming that it isn't coming back.
Shawn, as far as I can tell future.isCancelled() always returns true so the code path that invokes request.get() without a timeout should never be invoked. Can you provide a test case that demonstrates the problem?
I can't seem to reproduce the problem that I was having with the original implementation, so marking as invalid.