Tsz-wo Sze created HADOOP-19227:
-----------------------------------

             Summary: 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


{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: common-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-dev-h...@hadoop.apache.org

Reply via email to