Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Submitted By: Timothy Riley (timothyriley)
Assigned to: Nobody/Anonymous (nobody)
Summary: SocketInputStream never closed
I'm using htmlunit-1.9 which is using common-
httpclient-3.0.1. I have recently turned on profiling
and have noticed SocketInputStream(s) that are not
being closed. The issue is a result of
being called from
httpclient.HttpMethodBase.writeRequest which is being
called from htmlunit.HttpWebConnection.getResponse
does not close the output stream after flushing. I am
not sure if the issue is a misuse of HttpClient or a
bug in HttpClient. I also checked with the trunk
version of httpclient and the issue still exists.
A direct call to httpclient.HttpConnection.close()
somewhere in or around
I am not an expert in either htmlunit or httpclient so
please take no offense if I am wrong.