forked from quic-go/quic-go
add Allow0RTT opt in the quic.Config to control 0-RTT on the server side (#3635)
This commit is contained in:
@@ -45,7 +45,7 @@ var _ = Describe("Config", func() {
|
||||
}
|
||||
|
||||
switch fn := typ.Field(i).Name; fn {
|
||||
case "RequireAddressValidation", "GetLogWriter", "AllowConnectionWindowIncrease":
|
||||
case "RequireAddressValidation", "GetLogWriter", "AllowConnectionWindowIncrease", "Allow0RTT":
|
||||
// Can't compare functions.
|
||||
case "Versions":
|
||||
f.Set(reflect.ValueOf([]VersionNumber{1, 2, 3}))
|
||||
|
||||
Reference in New Issue
Block a user