DO NOT REPLY [Bug 25372] - auto close idle connections

2004-04-08 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 28302] - [PATCH] Wirelog corrections

2004-04-08 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 25372] - auto close idle connections

2004-04-08 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 28303] - [PATCH] HttpClient#getHost & HttpClient#getPort methods are misleading

2004-04-08 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 28303] - [PATCH] HttpClient#getHost & HttpClient#getPort methods are misleading

2004-04-08 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 28303] - [PATCH] HttpClient#getHost & HttpClient#getPort methods are misleading

2004-04-08 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 28303] New: - [PATCH] HttpClient#getHost & HttpClient#getPort methods are misleading

2004-04-08 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 28302] - [PATCH] Wirelog corrections

2004-04-08 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 28302] - [PATCH] Wirelog corrections

2004-04-08 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 28302] New: - [PATCH] Wirelog corrections

2004-04-08 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

RE: question about performance

2004-04-08 Thread Oleg Kalnichevski
Gil, HttpClient#getHost / HttpClient#getPort return the DEFAULT host and port used when only relative request path is given HttpClient agent = new HttpClient(); GetMethod get1 = new GetMethod("/relative/whatever.html"); // default host configuration applies GetMethod get2 = new GetMethod("http://w

RE: question about performance

2004-04-08 Thread Alvarez, Gil
Ok, I considered reusing HttpClient, but when I saw methods such as HttpClient.getHost() and getPort(), they implied that at the very least it's not a thread safe class to use. If i have multiple threads executing within one HttpClient object at the same time, and I call HttpClient.getHost(), what'

DO NOT REPLY [Bug 28296] - [API Doc] Compile performance optimization guide

2004-04-08 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 28296] New: - [API Doc] Compile performance optimization guide

2004-04-08 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

Re: question about performance

2004-04-08 Thread Sam Berlin
It's not a big issue for us right now ... but when we start using HttpClient more heavily it'll become important. Just throwing the idea out there for now in case anyone else wants to do the patch. :) Thanks, Sam On Thursday, April 8, 2004, at 03:34 PM, Oleg Kalnichevski wrote: It's on my v

Re: question about performance

2004-04-08 Thread Oleg Kalnichevski
It's on my virtual 'to-do' list (along with many other things [Sigh]). Feel free to file a bug report and attach a patch against CVS HEAD, though. Oleg On Thu, 2004-04-08 at 21:29, Sam Berlin wrote: > Regarding point 4, it might be worthwhile to use reflection on newer > JVMs so that the contro

Re: question about performance

2004-04-08 Thread Sam Berlin
Regarding point 4, it might be worthwhile to use reflection on newer JVMs so that the controller thread isn't necessary. An example of this is: //a) Conceptually, this code does the following: // SocketAddress addr=new InetSocketAddress(host, port); //

Re: question about performance

2004-04-08 Thread Oleg Kalnichevski
Gil, (1) First and foremost DO reuse HttpClient instances when using multi-threaded connection manager. HttpClient class is thread-safe. In fact there are no known problems with having just one instance of HttpClient per application. Using a new instance of HttpClient for processing each request to

question about performance

2004-04-08 Thread Alvarez, Gil
We recently ported our url-hitting code from using java.net.* code to httpclient code. We use it in a high-volume environment (20 machines are hitting an external 3rd party to retrieve images). After the port, we saw a significant increase in cycles used by the machines, about 2-3 times (ie,

RE: HttpClient login error

2004-04-08 Thread Kalnichevski, Oleg
Gregory, There are two possibilities (1) Hit the desired page(s) directly http://www.mercedes-benz.t-online.de/mb-portal/www/LR0012_intro (2) If you do not want to "hardwire" the reference to a specific page directly into your code, there's no way around parsing the content of the front page and

RE: HttpClient login error

2004-04-08 Thread Grigorios Merenidis
Hi Oleg! Thanks for your immediate response!! I will try to figure out! One other question: if I call the method myPostMethod.getResponseBodyAsString() I receive html - code that looks like this: http://apache.org/cocoon/i18n/2.0";> Mercedes-Benz Portal function oldOnLoad() {} function clickI