소스 검색

parse all the auth response frames

Chris Bannister 11 년 전
부모
커밋
d3dc14b6b9
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      frame.go

+ 4 - 0
frame.go

@@ -365,6 +365,10 @@ func (f *framer) parseFrame() (frame, error) {
 		frame = f.parseSupportedFrame()
 	case opAuthenticate:
 		frame = f.parseAuthenticateFrame()
+	case opAuthChallenge:
+		frame = f.parseAuthChallengeFrame()
+	case opAuthSuccess:
+		frame = f.parseAuthSuccessFrame()
 	default:
 		return nil, NewErrProtocol("unknown op in frame header: %s", f.header.op)
 	}