Skip to content

Commit

Permalink
Skip protocol warning since QUIC supports multiplexing too
Browse files Browse the repository at this point in the history
  • Loading branch information
UjuiUjuMandan authored Oct 30, 2024
1 parent 90d2c07 commit ae403a0
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 ae403a0

Please sign in to comment.