[ 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

SourceForge.net
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:
https://sourceforge.net/tracker/?func=detail&atid=448266&aid=1559024&group_id=47038

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
httpclient.HttpConnection.flushRequestOutputStream()
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
htmlunit.HttpWebConnection.getResponse.

I am not an expert in either htmlunit or httpclient so
please take no offense if I am wrong.

Thanks
Tim

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=448266&aid=1559024&group_id=47038

-------------------------------------------------------------------------
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
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
HtmlUnit-develop mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/htmlunit-develop