[ 
https://issues.apache.org/jira/browse/HADOOP-19227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17867482#comment-17867482
 ] 

ASF GitHub Bot commented on HADOOP-19227:
-----------------------------------------

szetszwo commented on PR #6949:
URL: https://github.com/apache/hadoop/pull/6949#issuecomment-2240978739

   Thanks @arp7  for reviewing this.




> ipc.Server accelerate token negotiation only for the default mechanism
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-19227
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19227
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Tsz-wo Sze
>            Assignee: Tsz-wo Sze
>            Priority: Major
>              Labels: pull-request-available
>
> {code}
> //Server.java
>       // accelerate token negotiation by sending initial challenge
>       // in the negotiation response
>       if (enabledAuthMethods.contains(AuthMethod.TOKEN)) {
>         ...
>       }
> {code}
> In Server.Connection.buildSaslNegotiateResponse() above, it accelerates token 
> negotiation by sending initial challenge in the negotiation response.  
> However, it is a non-standard SASL
> negotiation.  We should do it only for the default SASL mechanism.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to