You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Ashim Rana <as...@gmail.com> on 2018/03/26 18:19:25 UTC

[users@httpd] mod_reqtimeout and 408 status code

Hi,

I am trying to understand the behavior of mod_reqtimeout with respect to
header read timeout vs body read timeout.

While I could easily verify that Apache is returning HTTP status code 408
in case of header read timeouts; I always see that in case of body read
timeouts, the body is being passed to the backend server. I was under
impression that Apache would always send a HTTP status code 408 in case of
timeouts.

[Mon Mar 26 17:58:04.641367 2018] [core:trace6] [pid 23051]
core_filters.c(525): [client 10.212.24.157:50582] core_output_filter:
flushing because of FLUSH bucket
*[Mon Mar 26 17:58:34.665345 2018] [reqtimeout:info] [pid 23051] [client
10.212.24.157:50582 <http://10.212.24.157:50582>] AH01382: Request body
read timeout*
[Mon Mar 26 17:58:34.665380 2018] [ssl:trace4] [pid 23051]
ssl_engine_io.c(2079): [client 10.212.24.157:50582] OpenSSL: I/O error, 5
bytes expected to read on BIO#557ac9125de0 [mem: 557ac9115b03]
*[Mon Mar 26 17:58:34.665394 2018] [ssl:info] [pid 23051] (70007)The
timeout specified has expired: [client 10.212.24.157:50582
<http://10.212.24.157:50582>] AH01991: SSL input filter read failed.*
*[Mon Mar 26 17:58:34.665467 2018] [http:trace3] [pid 23051]
http_filters.c(1129): [client 10.212.24.157:50582
<http://10.212.24.157:50582>] Response sent with status 500, headers:*
[Mon Mar 26 17:58:34.665479 2018] [http:trace5] [pid 23051]
http_filters.c(1136): [client 10.212.24.157:50582]   Date: Mon, 26 Mar 2018
17:58:04 GMT
[Mon Mar 26 17:58:34.665483 2018] [http:trace5] [pid 23051]
http_filters.c(1139): [client 10.212.24.157:50582]   Server: Apache/2.4.6
(CentOS) OpenSSL/1.0.2k-fips mod_jk/1.2.40
[Mon Mar 26 17:58:34.665488 2018] [http:trace4] [pid 23051]
http_filters.c(958): [client 10.212.24.157:50582]   Connection: close
[Mon Mar 26 17:58:34.665503 2018] [http:trace4] [pid 23051]
http_filters.c(958): [client 10.212.24.157:50582]   Content-Type:
application/json
[Mon Mar 26 17:58:34.665509 2018] [ssl:trace4] [pid 23051]
ssl_engine_io.c(1515): [client 10.212.24.157:50582] coalesce: have 0 bytes,
adding 191 more
[Mon Mar 26 17:58:34.665535 2018] [core:trace6] [pid 23051]
core_filters.c(525): [client 10.212.24.157:50582] core_output_filter:
flushing because of FLUSH bucket
[Mon Mar 26 17:58:34.665575 2018] [core:trace6] [pid 23051]
core_filters.c(525): [client 10.212.24.157:50582] core_output_filter:
flushing because of FLUSH bucket
[Mon Mar 26 17:58:34.665735 2018] [core:trace6] [pid 23051]
core_filters.c(525): [client 10.212.24.157:50582] core_output_filter:
flushing because of FLUSH bucket
[Mon Mar 26 17:58:34.665747 2018] [ssl:trace4] [pid 23051]
ssl_engine_io.c(2079): [client 10.212.24.157:50582] OpenSSL: I/O error, 5
bytes expected to read on BIO#557ac9125de0 [mem: 557ac9115b03]
[Mon Mar 26 17:58:34.665754 2018] [ssl:info] [pid 23051] (70014)End of file
found: [client 10.212.24.157:50582] AH01991: SSL input filter read failed.

Can somebody please shed some lights on what might be the problem?

Regards,
Ashim