Skip to content

Commit

Permalink
h3i: change example domain to cloudflare-quic.com
Browse files Browse the repository at this point in the history
  • Loading branch information
evanrittenhouse committed Dec 17, 2024
1 parent ff24cf5 commit 85791d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions h3i/examples/content_length_mismatch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ const STREAM_ID: u64 = 0;
/// blog.cloudflare.com.
fn main() {
let config = Config::new()
.with_host_port("blog.cloudflare.com".to_string())
.with_host_port("cloudflare-quic.com".to_string())
.with_idle_timeout(2000)
.build()
.unwrap();

let headers = vec![
Header::new(b":method", b"POST"),
Header::new(b":scheme", b"https"),
Header::new(b":authority", b"blog.cloudflare.com"),
Header::new(b":authority", b"cloudflare-quic.com"),
Header::new(b":path", b"/"),
// We say that we're going to send a body with 5 bytes...
Header::new(b"content-length", b"5"),
Expand Down

0 comments on commit 85791d9

Please sign in to comment.