DO NOT REPLY [Bug 18596] - MultiThreadedHttpConnectionManager never reclaims unused connectons

2003-04-01 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://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 18596] - MultiThreadedHttpConnectionManager never reclaims unused connectons

2003-04-01 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://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 18596] New: - MultiThreadedHttpConnectionManager never reclaims unused connectons

2003-04-01 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://nagoya.apache.org/bugzilla/show_bu

Re: Host Header and IP Addresses

2003-04-01 Thread Eric Johnson
Adrian, Weird. I just went and looked at the code again to refresh my memory. Based on the code, and what I recall of the previous discussion, we had agreed that sending the IP address for the host when none other was specified. The only way that I can see that an "empty" host would be sent

Host Header and IP Addresses

2003-04-01 Thread Adrian Sutton
Hi guys, We've just had an interesting support issue come through related to HttpClient. It seems that in a particular configuration Microsoft-IIS/5.0 can't handle receiving an empty Host header. Since HttpClient sends this when an IP address is used, our client is having problems. The fix f

Re: passing through ISA server

2003-04-01 Thread Adrian Sutton
It would be very important to note that you can not use NTLM authentication to authenticate with both a proxy and a webserver at the same time due to limitations of the authentication scheme. Setting authorization_required to true would most likely turn on NTLM authentication on the proxy and

Re: passing through ISA server

2003-04-01 Thread Michael Becke
Valeri, I would also recommend taking a look at http://jakarta.apache.org/commons/httpclient/authentication.html. This page has more information about authenticating. If you are using a Microsoft proxy server it may require NTLM authentication. I do not think there are any examples using NT

Re: passing through ISA server

2003-04-01 Thread Oleg Kalnichevski
Valeri Here's a short code snippet that I hope will help you get moving in the right direction. HttpClient client = new HttpClient(); client.getState().setProxyCredentials( "proxy realm", new UsernamePasswordCredentials("username", "password") ); client.getHostConfiguration().setProxy("

passing through ISA server

2003-04-01 Thread Kireitchik, Valeri
Hello people, probably somebody has an expiereance in passing through Microsoft ISA Server (former Proxy Server). I have tried all what I could find in HttpClient but if authorization_required = true on ISA, I get 403 or 407 error. If somebody has a sample of working code I would appreciate yo

DO NOT REPLY [Bug 18355] - HttpState cannot differentiate credentials for different hosts with same Realm names

2003-04-01 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://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 18355] - HttpState cannot differentiate credentials for different hosts with same Realm names

2003-04-01 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://nagoya.apache.org/bugzilla/show_bu

RE: Problem encountered posting large files

2003-04-01 Thread Kalnichevski, Oleg
Hi Padraig I just checked the way HttpClient handles request content-length header and it appears reasonable to me. ... protected void addContentLengthRequestHeader(HttpState state, HttpConnection conn) throws IOException, HttpException

RE: Problem encountered posting large files

2003-04-01 Thread Sergio Berna
Well i may can help with this since i encountered exactly the same problems while using weblogic server. As they mention there is a problem with wl_proxy in weblogic 5 and 6. This proxy library is not able to handle large files uploads and so the process fails. To solve this problem there are two

Re: Problem encountered posting large files

2003-04-01 Thread Padraig O'hIceadha
Hi Oleg, There ia also an additional case I have seen. WebLogic is often deployed on a seperate server to the web server. In this case a web server plugin is used to forward any requests which must be handled by the app server. For example for iPlanet there is an NCSAPI plugin which read

RE: Problem encountered posting large files

2003-04-01 Thread Kalnichevski, Oleg
Hi Padraig I am glad you have gotten a handle on this problem. I suppose older versions of WebLogic HTTP server have issues with chunk-encoding content. This is exactly the case when 'Content-Length' header MUST NOT be sent to the server according to the HTTP/1.1 spec. Under all other circumsta

Re: Problem encountered posting large files

2003-04-01 Thread Padraig O'hIceadha
Hi Oleg, Oleg Kalnichevski wrote: Gourav, We will have difficulties addressing this problem unless we know how it can be reliably reproduced. So, we will need your help on that. A JUnit test case reproducing the problem would be ideals More questions: - what platform are you using on the client-

DO NOT REPLY [Bug 18355] - HttpState cannot differentiate credentials for different hosts with same Realm names

2003-04-01 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://nagoya.apache.org/bugzilla/show_bu