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

Bug 360938

Summary: Connections closed after a while
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.5.2   
Target Milestone: 7.5.x   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Simone Bordet CLA 2011-10-14 06:43:52 EDT
In Jetty 7.5.2 a mechanism to detect non-progressing connection was added to AsyncHttpConnection, mostly to avoid spin loops.

However, it is possible that from time to time a call to handle() makes no progress, even though previous or successive calls to handle() do make progress.

The counter for _total_no_progress is only incremented and never reset, and this, after a while, causes the connection to be closed even if it is working properly.
Comment 1 Simone Bordet CLA 2011-10-14 07:59:18 EDT
The counter for _total_no_progress is now reset when some progress is made.