remove dead comments

This commit is contained in:
iamqizhao
2015-10-05 17:59:10 -07:00
parent 9db3ca85c7
commit 6d4c5aef64

View File

@ -80,8 +80,6 @@ type http2Server struct {
fc *inFlow fc *inFlow
// sendQuotaPool provides flow control to outbound message. // sendQuotaPool provides flow control to outbound message.
sendQuotaPool *quotaPool sendQuotaPool *quotaPool
// tracing indicates whether tracing is on for this http2Server transport.
//tracing bool
mu sync.Mutex // guard the following mu sync.Mutex // guard the following
state transportState state transportState
@ -126,7 +124,6 @@ func newHTTP2Server(conn net.Conn, maxStreams uint32, authInfo credentials.AuthI
controlBuf: newRecvBuffer(), controlBuf: newRecvBuffer(),
fc: &inFlow{limit: initialConnWindowSize}, fc: &inFlow{limit: initialConnWindowSize},
sendQuotaPool: newQuotaPool(defaultWindowSize), sendQuotaPool: newQuotaPool(defaultWindowSize),
//tracing: tracing,
state: reachable, state: reachable,
writableChan: make(chan int, 1), writableChan: make(chan int, 1),
shutdownChan: make(chan struct{}), shutdownChan: make(chan struct{}),