HTTP/1 Directives - Configure - H2O - the optimized HTTP server

# H2O

the optimized HTTP/1.x, HTTP/2, HTTP/3 server

×
Powered by Oktavia

## Configure > HTTP/1 Directives

This document describes the configuration directives for controlling the HTTP/1 protocol handler.

- `http1-request-timeout`
- `http1-request-io-timeout`
- `http1-upgrade-to-http2`

### `"http1-request-timeout"`

Description:

  Timeout for incoming requests in seconds.

Level:
  global
Default:
  `

      http1-request-timeout: 10

  `

### `"http1-request-io-timeout"`

Description:

  Timeout for incoming request I/O in seconds.

Level:
  global
Default:
  `

      http1-request-io-timeout: 5

  `

### `"http1-upgrade-to-http2"`

Description:

  Boolean flag (`ON` or `OFF`) indicating whether or not to allow upgrade to HTTP/2.

Level:
  global
Default:
  `

      http1-upgrade-to-http2: ON

  `