Skip to content

Commit

Permalink
Skip protocol warning since QUIC supports multiplexing too (#8563)
Browse files Browse the repository at this point in the history
  • Loading branch information
UjuiUjuMandan authored Oct 31, 2024
1 parent 90d2c07 commit ce9fc58
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ class DnsOverHttps internal constructor(
hostname: String,
response: Response,
): List<InetAddress> {
if (response.cacheResponse == null && response.protocol !== Protocol.HTTP_2) {
if (response.cacheResponse == null && response.protocol !== Protocol.HTTP_2 && response.protocol !== Protocol.QUIC) {
Platform.get().log("Incorrect protocol: ${response.protocol}", Platform.WARN)
}

Expand Down

0 comments on commit ce9fc58

Please sign in to comment.