mirror of
https://github.com/square/okhttp.git
synced 2025-07-31 05:04:26 +03:00
Skip protocol warning since QUIC supports multiplexing too (#8563)
This commit is contained in:
@ -223,7 +223,7 @@ class DnsOverHttps internal constructor(
|
|||||||
hostname: String,
|
hostname: String,
|
||||||
response: Response,
|
response: Response,
|
||||||
): List<InetAddress> {
|
): 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)
|
Platform.get().log("Incorrect protocol: ${response.protocol}", Platform.WARN)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user