equal
deleted
inserted
replaced
402 |
402 |
403 // Signal that we're going back to the read loop. |
403 // Signal that we're going back to the read loop. |
404 cl.socketSync.Done() |
404 cl.socketSync.Done() |
405 } |
405 } |
406 |
406 |
407 // BUG(cjyar) Doesn't implement TLS/SASL EXTERNAL. |
407 // BUG(cjyar): Doesn't implement TLS/SASL EXTERNAL. |
408 func (cl *Client) chooseSasl(fe *Features) { |
408 func (cl *Client) chooseSasl(fe *Features) { |
409 var digestMd5 bool |
409 var digestMd5 bool |
410 for _, m := range(fe.Mechanisms.Mechanism) { |
410 for _, m := range(fe.Mechanisms.Mechanism) { |
411 switch strings.ToLower(m) { |
411 switch strings.ToLower(m) { |
412 case "digest-md5": |
412 case "digest-md5": |