Skip to content

Commit 276cb0c

Browse files
dswijseanmonstar
authored andcommitted
chore(docs): remove header_read_timeout from http1::Builder example
1 parent a4667b6 commit 276cb0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/conn/http1.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ pin_project_lite::pin_project! {
5757
/// # fn main() {
5858
/// let mut http = Builder::new();
5959
/// // Set options one at a time
60-
/// http.header_read_timeout(Duration::from_millis(200));
60+
/// http.half_close(false);
6161
///
6262
/// // Or, chain multiple options
6363
/// http.keep_alive(false).title_case_headers(true).max_buf_size(8192);

0 commit comments

Comments
 (0)