forked from quic-go/quic-go
http3: add client trace support (#4749)
Since the QUIC connection establishment process includes TLS handshake logic, Connect and TLS handshake are called in the following order: ConnectStart -> TLSHandshakeStart -> TLSHandshakeDone -> ConnectDone. Notice: Wait100Continue not implemented as quic-go doesn't support handling Expect: 100-continue.
This commit is contained in:
@@ -6,6 +6,7 @@ import (
|
||||
"io"
|
||||
"math"
|
||||
"net/http"
|
||||
"net/http/httptrace"
|
||||
|
||||
mockquic "github.com/quic-go/quic-go/internal/mocks/quic"
|
||||
"github.com/quic-go/quic-go/internal/protocol"
|
||||
@@ -165,6 +166,7 @@ var _ = Describe("Request Stream", func() {
|
||||
true,
|
||||
math.MaxUint64,
|
||||
&http.Response{},
|
||||
&httptrace.ClientTrace{},
|
||||
)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user