forked from quic-go/quic-go
don't schedule sending when stream.Write is called after the deadline
This commit is contained in:
@@ -208,6 +208,7 @@ var _ = Describe("Send Stream", func() {
|
||||
n, err := strWithTimeout.Write([]byte("foobar"))
|
||||
Expect(err).To(MatchError(errDeadline))
|
||||
Expect(n).To(BeZero())
|
||||
Expect(onDataCalled).To(BeFalse())
|
||||
})
|
||||
|
||||
It("unblocks after the deadline", func() {
|
||||
|
||||
Reference in New Issue
Block a user