Skip to content

Commit

Permalink
http3: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
ydnar committed Oct 4, 2021
1 parent f5ec510 commit 6407535
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
5 changes: 1 addition & 4 deletions http3/conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ import (
"github.com/lucas-clemente/quic-go/quicvarint"
)

const (
maxBufferedStreams = 10
maxBufferedDatagrams = 10
)
const maxBufferedStreams = 10

type connection struct {
session quic.EarlySession
Expand Down
5 changes: 0 additions & 5 deletions http3/request_stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ import (
"github.com/marten-seemann/qpack"
)

// isClientBidi returns true if id is a client-initiated bidirectional stream ID.
func isClientBidi(id uint64) bool {
return id&0b11 == 0
}

type requestStream struct {
quic.Stream
conn *connection
Expand Down

0 comments on commit 6407535

Please sign in to comment.