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

Bug 349870

Summary: Proxy Server: potential for exchange exception or connect failed before continuation started
Product: [RT] Jetty Reporter: Jesse McConnell <jesse.mcconnell>
Component: buildAssignee: Jesse McConnell <jesse.mcconnell>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jetty-inbox
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Jesse McConnell CLA 2011-06-20 16:26:06 EDT
there is potential for the onException() and onConnectionFailed() methods of the exchange to fire before the continuation has been suspended
Comment 1 Jesse McConnell CLA 2011-06-20 16:36:29 EDT
I am wrapping the continuation.complete() in both the onException and onConnectionFailed() methods with a check of !continuation.isInitial()