[ 
http://issues.apache.org/jira/browse/HTTPCLIENT-592?page=comments#action_12425332
 ] 
            
Oleg Kalnichevski commented on HTTPCLIENT-592:
----------------------------------------------

Please attach a wire/context log of the HTTP session that demonstrates the 
problem. I'll have a look at it

Oleg

> 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]

Reply via email to