]> granicus.if.org Git - apache/commitdiff
Make sure that ajp behaves like http.
authorJean-Frederic Clere <jfclere@apache.org>
Tue, 5 Sep 2017 10:58:26 +0000 (10:58 +0000)
committerJean-Frederic Clere <jfclere@apache.org>
Tue, 5 Sep 2017 10:58:26 +0000 (10:58 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1807338 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy_ajp.c

index a31afa9b1abc037b5ee7dd1068424c9444c13518..4b3fd13b8d74d0421e25fa2b50997a1e6e537109 100644 (file)
@@ -347,6 +347,7 @@ static int ap_proxy_ajp_request(apr_pool_t *p, request_rec *r,
          */
         if (APR_STATUS_IS_TIMEUP(status) &&
                 conn->worker->s->ping_timeout_set) {
+            apr_table_setn(r->notes, "proxy_timedout", "1");
             return HTTP_GATEWAY_TIME_OUT;
         }