mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-03 20:27:35 +03:00
remove unused error return value from HandleMaxStreamsFrame
This commit is contained in:
parent
3b916f2e80
commit
8a0b1dd78d
5 changed files with 12 additions and 24 deletions
|
@ -363,10 +363,10 @@ var _ = Describe("Streams Map", func() {
|
|||
It("processes IDs for outgoing bidirectional streams", func() {
|
||||
_, err := m.OpenStream()
|
||||
expectTooManyStreamsError(err)
|
||||
Expect(m.HandleMaxStreamsFrame(&wire.MaxStreamsFrame{
|
||||
m.HandleMaxStreamsFrame(&wire.MaxStreamsFrame{
|
||||
Type: protocol.StreamTypeBidi,
|
||||
MaxStreamNum: 1,
|
||||
})).To(Succeed())
|
||||
})
|
||||
str, err := m.OpenStream()
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
Expect(str.StreamID()).To(Equal(ids.firstOutgoingBidiStream))
|
||||
|
@ -377,10 +377,10 @@ var _ = Describe("Streams Map", func() {
|
|||
It("processes IDs for outgoing unidirectional streams", func() {
|
||||
_, err := m.OpenUniStream()
|
||||
expectTooManyStreamsError(err)
|
||||
Expect(m.HandleMaxStreamsFrame(&wire.MaxStreamsFrame{
|
||||
m.HandleMaxStreamsFrame(&wire.MaxStreamsFrame{
|
||||
Type: protocol.StreamTypeUni,
|
||||
MaxStreamNum: 1,
|
||||
})).To(Succeed())
|
||||
})
|
||||
str, err := m.OpenUniStream()
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
Expect(str.StreamID()).To(Equal(ids.firstOutgoingUniStream))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue