class modify_http_processor_config :?modify_http_protocol_config:Nethttpd_kernel.http_protocol_config -> Nethttpd_kernel.http_protocol_config -> ?config_timeout_next_request:float -> ?config_timeout:float -> ?config_cgi:Netcgi.config -> ?config_error_response:Nethttpd_types.error_response_params -> string -> ?config_log_error:Nethttpd_types.request_info -> string -> unit -> ?config_log_access:Nethttpd_types.full_info -> unit -> http_processor_config ->
http_processor_config
modify_http_protocol_config
: This function can be used to modify the
parts of the config object that are inherited from http_protocol_config
.
For example:
let new_cfg =
new modify_http_processor_config
~modify_http_protocol_config:
(new Nethttpd_kernel.modify_http_protocol_config
~config_suppress_broken_pipe:true)
~config_timeout:15.0
old_cfg