You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Ka-Lok Fung (JIRA)" <ji...@apache.org> on 2014/10/09 20:35:33 UTC
[jira] [Commented] (HTTPCLIENT-1561) InitializeSecurityContext in
WinHttpClient ignores return codes
[ https://issues.apache.org/jira/browse/HTTPCLIENT-1561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14165502#comment-14165502 ]
Ka-Lok Fung commented on HTTPCLIENT-1561:
-----------------------------------------
We don't strictly require a JNA update; {{SEC_I_COMPLETE_AND_CONTINUE}} and {{SEC_I_COMPLETE_NEEDED}} are just constants so we can just declare and use them in our own code.
> InitializeSecurityContext in WinHttpClient ignores return codes
> ---------------------------------------------------------------
>
> Key: HTTPCLIENT-1561
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1561
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpAuth
> Affects Versions: 4.4 Beta1
> Reporter: Michael Osipov
> Priority: Critical
>
> In {{WinHttpClient}} {{InitializeSecurityContext}} might not only return {{SEC_I_CONTINUE_NEEDED}} and {{SEC_E_OK}} but also {{SEC_I_COMPLETE_AND_CONTINUE}} and {{SEC_I_COMPLETE_NEEDED}}. The switch case needs to be extended. See [reference|http://msdn.microsoft.com/en-us/library/windows/desktop/aa375509%28v=vs.85%29.aspx].
> As far as I can see, necessary functions aren't even mapped in JNA, so one would need to spawn a ticket with JNA first.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org