[ http://issues.apache.org/jira/browse/HTTPCLIENT-592?page=comments#action_12425335 ] Roland Weber commented on HTTPCLIENT-592: -----------------------------------------
> i don't know if it is really a server problem Could you provide a wire log of the problem? http://jakarta.apache.org/commons/httpclient/logging.html If the proxy sends a "Connection: close" header that is ignored, then it is a bug in HttpClient. If it does not send that header, and does not close the connection, then it is a bug in the proxy. cheers, Roland > https connection establishment with ISA NTLM proxy > -------------------------------------------------- > > Key: HTTPCLIENT-592 > URL: http://issues.apache.org/jira/browse/HTTPCLIENT-592 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: HttpClient, HttpConn > Affects Versions: 3.1 Alpha 1 > Environment: NTLM proxy > Reporter: Trinh Quocan > > httpclient tries to connect to a proxy to acces to through https > httpclient first uses a connect request without authentification, when proxy > requires authentification, httpclient then sends the same request with > authentication, but using the same socket > in some cases proxy doesn't answer to validate authentification... but when > another socket is used to send connect request with authentification, then > that works > this piece of code is modified, > package : org.apache.commons.httpclient > classe : HttpMethodDirector : > methode : executeConnect > > boolean internalcose = true; > for (;;) { > if (authstate.isAuthRequested()) { > if (processAuthenticationResponse(this.connectMethod)) { > retry = true; > > /* > close the socket used to send request without authentification, the next loop > will reopen another one */ > > if (internalcose) { > > this.conn.close(); > > } > > internalcose = !internalcose; > } > } -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]