Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 331253

Summary: [api] add timeout to webutil.execute to ensure that connections are not infinite
Product: z_Archived Reporter: Shawn Minto <shawn.minto>
Component: MylynAssignee: Mylyn Inbox <mylyn-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Shawn Minto CLA 2010-11-26 17:00:03 EST
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.
Comment 1 Steffen Pingel CLA 2010-12-22 18:53:57 EST
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?
Comment 2 Shawn Minto CLA 2011-04-07 18:14:21 EDT
I can't seem to reproduce the problem that I was having with the original implementation, so marking as invalid.