Bug 56600

Summary: Missing "return" statements in WebdavServlet.doPropfind()
Product: Tomcat 8 Reporter: Konstantin Kolinko <knst.kolinko>
Component: CatalinaAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: minor    
Priority: P2    
Version: 8.0.8   
Target Milestone: ----   
Hardware: PC   
OS: All   

Description Konstantin Kolinko 2014-06-06 16:14:38 UTC
In WebdavServlet.doPropfind() method that handles PROPFIND requests there are two resp.sendError() method calls that are not followed by "return;".

It should not cause a visible error, but just some wasted work that generates response that is never sent to the client.
Comment 1 Konstantin Kolinko 2014-06-06 16:36:18 UTC
Fixed in Tomcat 8 and Tomcat 7 (r1600955, r1600956)
and will be in 8.0.9, 7.0.55 onwards.

Proposed for Tomcat 6.
Comment 2 Konstantin Kolinko 2014-06-11 17:36:24 UTC
Fixed in Tomcat 6 (r1601968), will be in 6.0.42 onwards.