This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/components/cronet/url_request_context_config.cc b/components/cronet/url_request_context_config.cc | |
index 317c0b4126..f839485599 100644 | |
--- a/components/cronet/url_request_context_config.cc | |
+++ b/components/cronet/url_request_context_config.cc | |
@@ -218,8 +218,11 @@ quic::ParsedQuicVersionVector ParseQuicVersions( | |
auto it = all_supported_versions.begin(); | |
while (it != all_supported_versions.end()) { | |
if (quic::QuicVersionToString(*it) == version) { | |
+ quic::HandshakeProtocol handshake_protocol = quic::PROTOCOL_QUIC_CRYPTO; | |
+ if (*it == quic::QUIC_VERSION_99) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/components/cronet/ios/Cronet.h b/components/cronet/ios/Cronet.h | |
index 05e294f238..2b4957387c 100644 | |
--- a/components/cronet/ios/Cronet.h | |
+++ b/components/cronet/ios/Cronet.h | |
@@ -72,6 +72,10 @@ GRPC_SUPPORT_EXPORT | |
// host is invalid). | |
+ (BOOL)addQuicHint:(NSString*)host port:(int)port altPort:(int)altPort; | |
+// Sets QUIC hint after |start| is called. | |
+// It is not clear yet that if this hint will override existing hint(s) or not. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/lib.rs b/src/lib.rs | |
index 79c942b..227f07f 100644 | |
--- a/src/lib.rs | |
+++ b/src/lib.rs | |
@@ -7746,6 +7746,65 @@ mod tests { | |
let result2 = pipe.server.dgram_recv(&mut buf); | |
assert_eq!(result2, Err(Error::Done)); | |
} | |
+ | |
+ #[test] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/examples/http3-client.rs b/examples/http3-client.rs | |
index a93d67e..329c243 100644 | |
--- a/examples/http3-client.rs | |
+++ b/examples/http3-client.rs | |
@@ -264,6 +264,16 @@ fn main() { | |
info!("GOAWAY id={}", goaway_id); | |
}, | |
+ Ok((stream_id, quiche::h3::Event::StopSending { error_code })) => { | |
+ info!("StopSending received for stream {}, error_code {}", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Cargo.toml b/Cargo.toml | |
index db11d7d..4f2febc 100644 | |
--- a/Cargo.toml | |
+++ b/Cargo.toml | |
@@ -15,8 +15,8 @@ async = ["flume/async"] | |
default = ["async"] | |
[dependencies] | |
-flume = { version = "0.10", default-features = false } # channel between threads | |
-if-addrs = "0.7" # get local IP addresses |