stream.go
changeset 19 e923f28d65aa
parent 17 d269d9c0fc8e
child 20 e119444a1119
equal deleted inserted replaced
18:9f4af32925bf 19:e923f28d65aa
   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":