[
https://issues.apache.org/jira/browse/HTTPCLIENT-917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12837716#action_12837716
]
Karl Wright commented on HTTPCLIENT-917:
----------------------------------------
Hi Oleg,
Believing it is resolved is good enough for me - thanks.
The issue of adoption of 4.x is complex. There are several stakeholders
involved here, so maybe a little background will help.
First, Lucene Connector Framework's code base was recently granted to ASF by
MetaCarta, Inc.. MetaCarta works primarily in the debian world, and the debian
world has limited itself to HttpClient 3.1 for the medium-term future.
Internal politics at MetaCarta make it hard for me to adopt packages later than
those in the current debian distribution, but having said that, I can certainly
lobby for permission to create my own httpclient 4.1 debian package for
MetaCarta's use.
Second, let me put on my LCF hat. For LCF's purposes, 4.x's approach of having
Httpclient's NTLM support be optional and reliant on jCIFS is problematic as
well, since jCIFS is LGPL licensed. This is not insurmountable, but it is
certainly a major complication. Now, the MetaCarta LCF Apache grant included a
patch file for HttpClient 3.1-2 which included code for all three tickets I've
submitted - and also includes a fully granted implementation of NTLM for
HttpClient, which I've attached to ticket HTTPCLIENT-919. If you folks decide
accept it, and use it in the 4.x code base, then our path to using 4.x in LCF
is simply a matter of mechanics and time.
Finally, my overriding goal here has been to start the process of reconciling
LCF's version of HttpClient with the version being distributed, so this is
hoped to be an ongoing discussion.
Hope this helps....
Karl
> When authentication is invalidated during redirection, proxy authentication
> also should be invalidated
> ------------------------------------------------------------------------------------------------------
>
> Key: HTTPCLIENT-917
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-917
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpClient
> Affects Versions: 3.1 Final
> Reporter: Karl Wright
> Attachments: proxy-auth-invalidate.patch
>
>
> This was discovered during use by Lucene Connector Framework, on 3.1.
> When a document is fetched through a proxy authenticated with NTLM, and
> that document is a redirection (301 or 302), the httpclient fails to
> properly use the right proxy credentials on the subsequent document
> fetch. This leads to 407 errors on these kinds of documents.
> I've attached a proposed patch.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]