*/
@Override
public void recycle() {
- super.recycle();
// Recycle filters
for (int i = 0; i <= lastActiveFilter; i++) {
activeFilters[i].recycle();
}
+ // This must be after filters since it resets the lastFilterIndex
+ super.recycle();
socket = null;
headerParsePos = HeaderParsePosition.HEADER_START;
parsingRequestLine = true;
Prevent possible thread exhaustion if a Comet timeout event takes a
while to complete. (markt)
</fix>
+ <fix>
+ Prvent multiple Comet END events if the CometServlet calls
+ <code>event.close()</code> during an END event. (markt)
+ </fix>
+ <fix>
+ Ensure correct recycling of NIO input filters when processing Comet
+ events. (markt)
+ </fix>
</changelog>
</subsection>
<subsection name="Jasper">
for explicit additional arguments for the executable. Those were
broken when implementing fix for bug <bug>49657</bug>. (kkolinko)
</fix>
- <fix>
- Prvent multiple Comet END events if the CometServlet calls
- <code>event.close()</code> during an END event. (markt)
- </fix>
</changelog>
</subsection>
</section>