httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 60990] New: Default Proxytimeout value is 1 minute and not value of Timeout
Date Fri, 14 Apr 2017 08:12:04 GMT

            Bug ID: 60990
           Summary: Default Proxytimeout value is 1 minute and not value
                    of Timeout
           Product: Apache httpd-2
           Version: 2.4.6
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy
  Target Milestone: ---

The mod_proxy 2.4 module Proxytimeout parameter has the default value of 60
seconds, and not the value of the apache Timeout parameter.
The mod_proxy 2.2 module does use the Timeout default value though.

I tested this with the latest apache on centos7:

How to reproduce:

-Create file /etc/httpd/conf.d/proxytest.conf:
ProxyPass /test http://localhost:8080/test
ProxyPassReverse /test http://localhost:8080/test

- listen on port 8080
nc -l 8080

- send http message to apache
date; echo "test123" | curl -X POST http://localhost:80/test -d @/dev/stdin;

-After 1 minute the http socket is aborted.

I could reproduce the problem for proxy pass of http and ajp, so probably it is
a general mod_proxy problem.

-Workaround, create /etc/httpd/conf.d/zz_defaults.conf

<IfDefine !Proxytimeout>
  #Set the default mod_proxy request timeout to 10 min. 
  Proxytimeout 600

You are receiving this mail because:
You are the assignee for the bug.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message