Hitachi

Hitachi Application Server V10 Definition Reference Guide (For UNIX® Systems)


2.3.122 RequestReadTimeout

RequestReadTimeout specifies the timeout time from the start of the reception of the request to the end of the reception of the request header, and from the start of the reception of the request body to the end.

Description

RequestReadTimeout specifies the timeout time (in seconds) from the start of the reception of the request to the end of the reception of the request header, and from the start of the reception of the request body to the end.

This is effective in preventing requests that take a long time to send data from occupying server resources for a long time.

Note that the mod_reqtimeout module needs to be implemented to set the timeout.

LoadModule reqtimeout_module modules/mod_reqtimeout.so

In addition, we recommend that you also suppress output of the module trace at the same time.

HWSSuppressModuleTrace mod_reqtimeout.c

Syntax

RequestReadTimeout type=time [type=time]

Specifiable values

type

You can specify header and body.

  • header

    Specify this if you want to monitor the elapsed time from the start of the reception of the request to the end of the reception of the request header.

  • body

    Specify this if you want to monitor the elapsed time from the start of the reception of the request body to the end.

time

Specify the timeout time (in seconds) from the start of the reception of the request to the end of the reception of the request header, and from the start of the reception of the request body to the end.

You can specify a value from 0 to 2,147,483,647. If you specify 0, the timeout is not set.

Default value

If the definition item is omitted:

20

Locations where it can be written

httpsd.conf and <VirtualHost>

Examples

Example 1:
RequestReadTimeout header=10 body=30

The timeout time from the start of the reception of the request to the end of the reception of the request header is set to 10 seconds. The timeout time from the start of the reception of the request body to the end is set to 30 seconds.

Example 2:
RequestReadTimeout header=0 body=0

The timeout is not set.