Re: UTF8 problem?

2008-10-28 Thread Mike Kyle
Oleg, Thanks for the info. I ended up suspecting as much. I confirmed it by locally changing java.net.SocketOutputStream to confirm the bytes written to the socket were exactly as reported by your logging (which they were). It seems that I was being misled by the output from my HTTP sniffer (o

Re: MultithreadedHttpConnectionManager and high loads

2008-10-28 Thread sebb
On 28/10/2008, Oleg Kalnichevski <[EMAIL PROTECTED]> wrote: > On Tue, 2008-10-28 at 09:19 -0700, Tatu Saloranta wrote: > > --- On Mon, 10/27/08, sebb <[EMAIL PROTECTED]> wrote: > > > > > From: sebb <[EMAIL PROTECTED]> > > > Subject: Re: MultithreadedHttpConnectionManager and high loads > > > T

Re: MultithreadedHttpConnectionManager and high loads

2008-10-28 Thread Oleg Kalnichevski
On Tue, 2008-10-28 at 09:19 -0700, Tatu Saloranta wrote: > --- On Mon, 10/27/08, sebb <[EMAIL PROTECTED]> wrote: > > > From: sebb <[EMAIL PROTECTED]> > > Subject: Re: MultithreadedHttpConnectionManager and high loads > > To: "HttpClient User Discussion" > > Date: Monday, October 27, 2008, 12:03 P

Re: NTLM-Proxy authentication and SSL-target

2008-10-28 Thread Oleg Kalnichevski
On Mon, 2008-10-27 at 15:46 +0100, Cech. Ulrich wrote: > Hello, > > I have a problem with SSL target over a proxy. I use the example of the > HttpClient-code (4.0 beta), without an SSL-target, everything work fine. > But if I change the target to port 443 and https (s. commented line), I > receive

Re: ConnectException not handled in DefaultHttpMethodRetryHandler

2008-10-28 Thread Oleg Kalnichevski
On Mon, 2008-10-27 at 15:18 +0100, Jaroslav Bielcik wrote: > Hi, > > i am using commons-httpclient.3.0.1 and I am sending some requests > through https protocol. I have a problem with a long creation of > connection if ip address of remote service is not existing. I think > problem is in the situa

RE: HttpConnection.flushRequestOutputStream() sometimes lasts too long

2008-10-28 Thread Oleg Kalnichevski
On Mon, 2008-10-27 at 09:24 +0100, Furmaniak Christophe wrote: ... > Ok, thanks. > > Could you just confirm that the HttpConnection.flushRequestOutputStream() > stuff happens when the request is sent to the remote server (and that it's > not related to the response reading)? > I confirm that

Re: MultithreadedHttpConnectionManager and high loads

2008-10-28 Thread Tatu Saloranta
--- On Mon, 10/27/08, sebb <[EMAIL PROTECTED]> wrote: > From: sebb <[EMAIL PROTECTED]> > Subject: Re: MultithreadedHttpConnectionManager and high loads > To: "HttpClient User Discussion" > Date: Monday, October 27, 2008, 12:03 PM > On 27/10/2008, De Groot, Cees > <[EMAIL PROTECTED]> wrote: > > Hi

RE: How to download from URL that requires login?

2008-10-28 Thread David Hoffer
Christine, thanks much the URL is helpful. -Dave -Original Message- From: Christine [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 28, 2008 5:05 AM To: HttpClient User Discussion Subject: Re: How to download from URL that requires login? On Mon, 2008-10-27 at 17:47 -0700, dahoffer wro

Re: How to download from URL that requires login?

2008-10-28 Thread Florent Blondeau
Hi dave, I understand you want to access a login page, login then download the content of the accessed web page HttpClient is a great tool, but if you want to do what you describe, a tool like Webtest may fit your needs (webtest.canoo.com) especially with its groovy support. If you really

Re: MultithreadedHttpConnectionManager and high loads

2008-10-28 Thread Christine
On Mon, 2008-10-27 at 08:29 -0700, De Groot, Cees wrote: > Hi, > > We're using HC in order to access an internal high-volume service > (thousands reqs/sec), and we noticed that DefaultHttpParams is > synchronized all over the place. This kills concurrency (I have a thread > dump showing ~1200 thre

Re: How to download from URL that requires login?

2008-10-28 Thread Christine
On Mon, 2008-10-27 at 17:47 -0700, dahoffer wrote: > I'm new to HTTP Client. I have a URL I want to connect to (and download > content) that requires user to first login with username & password. How > can I do this with HTTP Client? Dave, httpClient provides support for posting and getting http