Skip to content

Commit

Permalink
✏️ Change the name of the field esp_idf_svc::http::server::Configurat…
Browse files Browse the repository at this point in the history
…ion::max_resp_handlers to max_resp_headers (#316)
  • Loading branch information
Angelo13C authored Nov 14, 2023
1 parent 4a9560c commit 494bb98
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/http/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ pub struct Configuration {
pub stack_size: usize,
pub max_open_sockets: usize,
pub max_uri_handlers: usize,
pub max_resp_handlers: usize,
pub max_resp_headers: usize,
pub lru_purge_enable: bool,
pub uri_match_wildcard: bool,
#[cfg(esp_idf_esp_https_server_enable)]
Expand All @@ -73,7 +73,7 @@ impl Default for Configuration {
stack_size: 10240,
max_open_sockets: 4,
max_uri_handlers: 32,
max_resp_handlers: 8,
max_resp_headers: 8,
lru_purge_enable: true,
uri_match_wildcard: false,
#[cfg(esp_idf_esp_https_server_enable)]
Expand All @@ -95,7 +95,7 @@ impl From<&Configuration> for Newtype<httpd_config_t> {
ctrl_port: 32768,
max_open_sockets: conf.max_open_sockets as _,
max_uri_handlers: conf.max_uri_handlers as _,
max_resp_headers: conf.max_resp_handlers as _,
max_resp_headers: conf.max_resp_headers as _,
backlog_conn: 5,
lru_purge_enable: conf.lru_purge_enable,
recv_wait_timeout: 5,
Expand Down

0 comments on commit 494bb98

Please sign in to comment.