]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Merge r517233 from trunk:
authorJim Jagielski <jim@apache.org>
Tue, 9 Oct 2007 13:17:52 +0000 (13:17 +0000)
committerJim Jagielski <jim@apache.org>
Tue, 9 Oct 2007 13:17:52 +0000 (13:17 +0000)
* server/mpm_common.c (dummy_connection): Use "OPTIONS *" for request
on dummy connection.

PR: 41796

Submitted by: jorton
Reviewed by: jim

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@583152 13f79535-47bb-0310-9956-ffa450edef68

server/mpm_common.c

index f80637330f3d8a2f803665412facf821cff9f6d8..a95b231213975ccdca9f0d007fdb9bcad1e2cc76 100644 (file)
@@ -699,7 +699,7 @@ static apr_status_t dummy_connection(ap_pod_t *pod)
      * adminstrators can track down the cause of the odd-looking
      * requests in their logs.
      */
-    srequest = apr_pstrcat(p, "GET / HTTP/1.0\r\nUser-Agent: ",
+    srequest = apr_pstrcat(p, "OPTIONS * HTTP/1.0\r\nUser-Agent: ",
                            ap_get_server_banner(),
                            " (internal dummy connection)\r\n\r\n", NULL);