hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: [HttpClient.java] HttpParams
Date Tue, 08 May 2007 16:53:33 GMT
On Tue, 2007-05-08 at 17:12 +0200, Jens Goerke wrote:
> Oleg,
> 
> > HttpParams associated with HttpClient are expected to be initialized
> by
> > the constructor. Hence null assignment in the instance variable
> > declaration. 
> 
> The HttpParams are initialized, given to the HttpConnectionManager, but
> then get clobbered within HttpClient.
> 


I do not think this observation is correct. Feel free to double-check,
tough.


> > As far as I know  CommonsHTTPSender reads the default parameter values
> > from a configuration file
> 
> Which configuration file would that be?

axis2.xml


>  I haven't found any reference to
> the 600000 ms timeout anywhere in any source or configuration file.
> 
> [code sample]
> Yes, that's basically how the HttpParams are set in our code.
> 
> > The easiest solution to this problem would be to use the Axis2 config
> > file to initialize the HTTP sender
> 
> I'm not sure that would help - Axis is using
> HttpClient(ConnectionManager),
> which re-sets the HttpParams to its own defaults instead of using them
> as
> they are.
> 
> Perhaps I do need to modify HttpClient.java after all.
> 

You are very welcome to do so. It is open-source after all


> Thanks anyway,
> Jens
> 

Oleg

> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Mime
View raw message