forked from quic-go/quic-go
expose the connection tracing ID on the stream context (#4414)
This is especially interesting for HTTP servers: They can now learn which connection a request was received on.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package quic
|
||||
|
||||
import (
|
||||
"context"
|
||||
"errors"
|
||||
"io"
|
||||
"os"
|
||||
@@ -41,7 +42,7 @@ var _ = Describe("Stream", func() {
|
||||
BeforeEach(func() {
|
||||
mockSender = NewMockStreamSender(mockCtrl)
|
||||
mockFC = mocks.NewMockStreamFlowController(mockCtrl)
|
||||
str = newStream(streamID, mockSender, mockFC)
|
||||
str = newStream(context.Background(), streamID, mockSender, mockFC)
|
||||
|
||||
timeout := scaleDuration(250 * time.Millisecond)
|
||||
strWithTimeout = struct {
|
||||
|
||||
Reference in New Issue
Block a user