mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-04 04:37:36 +03:00
fix: build error after sync
Signed-off-by: Gaukas Wang <i@gaukas.wang>
This commit is contained in:
parent
b66e1ed5f5
commit
05c12945b8
8 changed files with 71 additions and 126 deletions
|
@ -27,11 +27,7 @@ var newUClientConnection = func(
|
|||
tracer *logging.ConnectionTracer,
|
||||
tracingID uint64,
|
||||
logger utils.Logger,
|
||||
v protocol.VersionNumber,
|
||||
// chs *tls.ClientHelloSpec,
|
||||
// initPktNbrLen PacketNumberLen,
|
||||
// qfs QUICFrames,
|
||||
// udpDatagramMinSize int,
|
||||
v protocol.Version,
|
||||
uSpec *QUICSpec, // [UQUIC]
|
||||
) quicConn {
|
||||
s := &connection{
|
||||
|
@ -130,7 +126,7 @@ var newUClientConnection = func(
|
|||
InitialSourceConnectionID: srcConnID,
|
||||
}
|
||||
if s.config.EnableDatagrams {
|
||||
params.MaxDatagramFrameSize = protocol.MaxDatagramFrameSize
|
||||
params.MaxDatagramFrameSize = wire.MaxDatagramSize
|
||||
} else {
|
||||
params.MaxDatagramFrameSize = protocol.InvalidByteCount
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue