We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d1bd70 commit a4667b6Copy full SHA for a4667b6
src/server/conn/http1.rs
@@ -316,6 +316,9 @@ impl Builder {
316
/// Set a timeout for reading client request headers. If a client does not
317
/// transmit the entire header within this time, the connection is closed.
318
///
319
+ /// Requires a [`Timer`] set by [`Builder::timer`] to take effect. Panics if `header_read_timeout` is configured
320
+ /// without a [`Timer`].
321
+ ///
322
/// Pass `None` to disable.
323
324
/// Default is 30 seconds.
0 commit comments