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

Bug 335836

Summary: Race when updating SelectChannelEndPoint._dispatched
Product: [RT] Jetty Reporter: Simone Bordet <simone.bordet>
Component: serverAssignee: Simone Bordet <simone.bordet>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jetty-inbox
Version: 7.2.2   
Target Milestone: 7.2.x   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Simone Bordet CLA 2011-01-31 07:26:33 EST
In SelectChannelEndPoint.dispatch():

_dispatched = _manager.dispatch(_handler);

It could be that the endpoint handler is run before the assignment to _dispatched is done, so it will look like the endpoint is in a wrong state.
Comment 1 Simone Bordet CLA 2011-01-31 07:29:26 EST
Fixed by guarding correctly the assigned to _dispatched.