remove some unused functions

This commit is contained in:
Marten Seemann 2019-02-27 19:31:53 +09:00
parent fbe8844006
commit 9b5a20e772
2 changed files with 0 additions and 9 deletions

View file

@ -323,10 +323,6 @@ func (s *sendStream) closeForShutdown(err error) {
s.ctxCancel()
}
func (s *sendStream) getWriteOffset() protocol.ByteCount {
return s.writeOffset
}
// signalWrite performs a non-blocking send on the writeChan
func (s *sendStream) signalWrite() {
select {

View file

@ -62,11 +62,6 @@ func areSessionsRunning() bool {
return strings.Contains(b.String(), "quic-go.(*session).run")
}
func insertPacketBuffer(p *receivedPacket) *receivedPacket {
p.buffer = getPacketBuffer()
return p
}
var _ = Describe("Session", func() {
var (
sess *session