You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by bu...@apache.org on 2005/03/10 10:19:11 UTC
DO NOT REPLY [Bug 33947] New: -
Exception in HttpConnection because of unchecked buffer size
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33947>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=33947
Summary: Exception in HttpConnection because of unchecked buffer
size
Product: HttpClient
Version: 2.0.2
Platform: PC
OS/Version: Windows 2000
Status: NEW
Severity: normal
Priority: P2
Component: Commons HttpClient
AssignedTo: httpclient-dev@jakarta.apache.org
ReportedBy: ortwin.glueck@nose.ch
>From the httpclient-dev mailing list:
Date: Tue, 8 Mar 2005 19:08:35 +0100
Subject: Error with multiple connections
Hello,
I am having some problems while trying multiple connections over a
HttpClient object with a MultiThreadedHttpConnectionManager. I am
launching 10 threads and each thread executes some GetMethods using this
HttpClient object.
Some times I got an error like this:
java.lang.IllegalArgumentException: Buffer size <= 0
at java.io.BufferedInputStream.<init>(Unknown Source)
at
org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:70
3)
at
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpCon
nectionAdapter.open(MultiThreadedHttpConnectionManager.java:1170)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:6
28)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:4
97)
at Main$Hilo.run(Main.java:58)
Does anybody have any idea?
Thanks in advance,
Jorge
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org