You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2006/12/12 18:36:23 UTC

[jira] Resolved: (HTTPCLIENT-592) https connection establishment with ISA NTLM proxy

     [ http://issues.apache.org/jira/browse/HTTPCLIENT-592?page=all ]

Oleg Kalnichevski resolved HTTPCLIENT-592.
------------------------------------------

    Resolution: Incomplete

> 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: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org