[ htmlunit-Bugs-1559024 ] SocketInputStream never closed

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[ htmlunit-Bugs-1559024 ] SocketInputStream never closed

Bugs item #1559024, was opened at 2006-09-14 22:09
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:

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.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Timothy Riley (timothyriley)
Assigned to: Nobody/Anonymous (nobody)
Summary: SocketInputStream never closed

Initial Comment:
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.



You can respond by visiting:

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
HtmlUnit-develop mailing list
[hidden email]