uCosminexus Application Server, Web Container Functionality Guide

[Contents][Glossary][Index][Back][Next]

5.9.1 Overview of the communication timeout

When using the in-process HTTP server, you can set communication timeout for receiving a request and sending a response between the Web client and the in-process HTTP server. When the response is awaited due to the network and application failure, you can detect the occurrence of failure from the occurrence of timeout, if the communication timeout is set.

When you use the in-process HTTP server, set the timeout for the communication indicated by the two arrows in the following figure.

Figure 5-7 Communication for which timeout can be set (When using the in-process HTTP server)

[Figure]

As shown in the figure, communication timeout is set for receiving requests and sending responses. The setting of communication timeout is explained separately for receiving of a request and sending of a response.

Note that when data timeout occurs while receiving a request from the Web client and sending a response to the Web client, a Web client or network failure is assumed and the connection with the Web client is disconnected, so a response is not returned.

Organization of this subsection
(1) Communication timeout when receiving a request
(2) Communication timeout when sending a response

(1) Communication timeout when receiving a request

The following figure shows the locations to set the communication timeout for receiving requests.

Figure 5-8 Locations to set the communication timeout for receiving requests (When using the in-process HTTP server)

[Figure]

When using the in-process HTTP server, you set a timeout for the communication between the Web client and the in-process HTTP server.

By setting a timeout for the communication between the Web client and the in-process HTTP server, you can detect the following failures in the client:

(2) Communication timeout when sending a response

The following figure shows the locations to set the communication timeout for sending responses.

Figure 5-9 Locations to set the communication timeout for sending responses (When using the in-process HTTP server)

[Figure]

When using the in-process HTTP server, you set a timeout for the communication between the in-process HTTP server and the Web client.

By setting a timeout for the communication between the in-process HTTP server and the Web client, you can detect the following failures: