|
|
@@ -303,7 +303,7 @@ func isBadCipher(cipher uint16) bool {
|
|
|
}
|
|
|
|
|
|
func (sc *serverConn) rejectConn(err ErrCode, debug string) {
|
|
|
- log.Printf("REJECTING conn: %v, %s", err, debug)
|
|
|
+ sc.vlogf("REJECTING conn: %v, %s", err, debug)
|
|
|
// ignoring errors. hanging up anyway.
|
|
|
sc.framer.WriteGoAway(0, err, []byte(debug))
|
|
|
sc.bw.Flush()
|
|
|
@@ -992,7 +992,7 @@ func (sc *serverConn) processFrame(f Frame) error {
|
|
|
// frame as a connection error (Section 5.4.1) of type PROTOCOL_ERROR.
|
|
|
return ConnectionError(ErrCodeProtocol)
|
|
|
default:
|
|
|
- log.Printf("Ignoring frame: %v", f.Header())
|
|
|
+ sc.vlogf("Ignoring frame: %v", f.Header())
|
|
|
return nil
|
|
|
}
|
|
|
}
|