package nomad

  1. Overview
  2. Docs

Source file config.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
type t = {
  max_line_request_length : int;
  max_header_count : int;
  max_header_length : int;
  request_receive_timeout : int64;
}

let make ?(max_line_request_length = 8000) ?(max_header_count = 100)
    ?(max_header_length = 5000) ?(request_receive_timeout = 1_000_000L) () =
  {
    max_line_request_length;
    max_header_count;
    max_header_length;
    request_receive_timeout;
  }