codegooglecom / libproxy

Automatically exported from code.google.com/p/libproxy
GNU Lesser General Public License v2.1
0 stars 0 forks source link

fd leaks in get_pac() #185

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
in url::get_pac(), in the file URI case, "sock" is never closed. 

Likewise, at the end of the function, it calls shutdown(), but not close() 
(meaning it ends the TCP connection but the fd is still in use).

Original issue reported on code.google.com by dan.wins...@gmail.com on 4 Dec 2012 at 5:01

GoogleCodeExporter commented 9 years ago
proposed patch

Original comment by dominiqu...@gmail.com on 10 Dec 2012 at 5:05

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r870.

Original comment by dominiqu...@gmail.com on 10 Dec 2012 at 10:13