connection muxer should use bufio.Reader to be simpler. (#3177)

This commit is contained in:
Harshavardhana
2016-11-05 12:57:31 -07:00
committed by GitHub
parent 1ba497950c
commit 1105508453
2 changed files with 34 additions and 66 deletions

View File

@@ -86,10 +86,7 @@ func isKeyFileExists() bool {
// isSSL - returns true with both cert and key exists.
func isSSL() bool {
if isCertFileExists() && isKeyFileExists() {
return true
}
return false
return isCertFileExists() && isKeyFileExists()
}
// Reads certificated file and returns a list of parsed certificates.