equal
deleted
inserted
replaced
305 |
305 |
306 // Signal that we're going back to the read loop. |
306 // Signal that we're going back to the read loop. |
307 cl.socketSync.Done() |
307 cl.socketSync.Done() |
308 } |
308 } |
309 |
309 |
310 // TODO Implement TLS/SASL EXTERNAL. |
310 // TODO |
|
311 // BUG(cjyar) Doesn't implement TLS/SASL EXTERNAL. |
311 func (cl *Client) chooseSasl(fe *Features) { |
312 func (cl *Client) chooseSasl(fe *Features) { |
312 var digestMd5 bool |
313 var digestMd5 bool |
313 for _, m := range(fe.Mechanisms.Mechanism) { |
314 for _, m := range(fe.Mechanisms.Mechanism) { |
314 switch strings.ToLower(m) { |
315 switch strings.ToLower(m) { |
315 case "digest-md5": |
316 case "digest-md5": |