Early data option
This commit is contained in:
parent
e08c70709f
commit
9518cc8b73
4 changed files with 23 additions and 6 deletions
|
|
@ -52,6 +52,8 @@ pub struct ProxyConfig {
|
|||
/// timeout to handle a connection, total time of receive request, serve, and send response. this might limits the max length of response.
|
||||
pub connection_handling_timeout: Option<Duration>,
|
||||
|
||||
pub enable_early_data: bool,
|
||||
|
||||
#[cfg(feature = "cache")]
|
||||
pub cache_enabled: bool,
|
||||
#[cfg(feature = "cache")]
|
||||
|
|
@ -100,6 +102,8 @@ impl Default for ProxyConfig {
|
|||
sni_consistency: true,
|
||||
connection_handling_timeout: None,
|
||||
|
||||
enable_early_data: false,
|
||||
|
||||
#[cfg(feature = "cache")]
|
||||
cache_enabled: false,
|
||||
#[cfg(feature = "cache")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue