httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfcl...@apache.org
Subject svn commit: r572919 - /httpd/httpd/trunk/modules/proxy/mod_proxy_ajp.c
Date Wed, 05 Sep 2007 09:21:23 GMT
Author: jfclere
Date: Wed Sep  5 02:21:23 2007
New Revision: 572919

URL: http://svn.apache.org/viewvc?rev=572919&view=rev
Log:
Add support for proxy-nokeepalive (for testings).

Modified:
    httpd/httpd/trunk/modules/proxy/mod_proxy_ajp.c

Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_ajp.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_ajp.c?rev=572919&r1=572918&r2=572919&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_ajp.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_ajp.c Wed Sep  5 02:21:23 2007
@@ -475,6 +475,10 @@
 
     apr_brigade_destroy(output_brigade);
 
+    if (apr_table_get(r->subprocess_env, "proxy-nokeepalive")) {
+        conn->close++;
+    }
+
     return rv;
 }
 



Mime
View raw message