mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-07 06:07:36 +03:00
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:
parent
183d42a729
commit
e310b80cf3
8 changed files with 26 additions and 11 deletions
|
@ -35,7 +35,7 @@ var _ = Describe("Send Stream", func() {
|
|||
BeforeEach(func() {
|
||||
mockSender = NewMockStreamSender(mockCtrl)
|
||||
mockFC = mocks.NewMockStreamFlowController(mockCtrl)
|
||||
str = newSendStream(streamID, mockSender, mockFC)
|
||||
str = newSendStream(context.Background(), streamID, mockSender, mockFC)
|
||||
|
||||
timeout := scaleDuration(250 * time.Millisecond)
|
||||
strWithTimeout = gbytes.TimeoutWriter(str, timeout)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue