Bug 53015

Summary: missing apr_socket_close
Product: Apache httpd-2 Reporter: Julia Lawall <jlawall>
Component: mod_proxy_connectAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: NEW ---    
Severity: normal Keywords: FixedInTrunk, PatchAvailable
Priority: P2    
Version: 2.5-HEAD   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Attachments: patch adding a call to apr_socket_close

Description Julia Lawall 2012-03-31 20:07:01 UTC
Created attachment 28523 [details]
patch adding a call to apr_socket_close

In the function proxy_connect_handler, most of the error-handling code calls apr_socket_close.  This patch adds it in the case where it is missing.
Comment 1 Christophe JAILLET 2018-05-27 20:42:10 UTC
Fixed in r1832348.
Thx for the report, and sorry for the really long delay.

Maybe it's time to add some error handling gotos in apache, Linux style :)