You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jc...@apache.org on 2017/07/06 15:38:34 UTC

svn commit: r1801073 - in /httpd/test/framework/trunk/t: htdocs/modules/lua/setheaders.lua modules/lua.t

Author: jchampion
Date: Thu Jul  6 15:38:34 2017
New Revision: 1801073

URL: http://svn.apache.org/viewvc?rev=1801073&view=rev
Log:
mod_lua: revert apr_table compatibility test

Don't keep the code if we're not keeping apr_table; it's just cruft.

Modified:
    httpd/test/framework/trunk/t/htdocs/modules/lua/setheaders.lua
    httpd/test/framework/trunk/t/modules/lua.t

Modified: httpd/test/framework/trunk/t/htdocs/modules/lua/setheaders.lua
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/htdocs/modules/lua/setheaders.lua?rev=1801073&r1=1801072&r2=1801073&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/htdocs/modules/lua/setheaders.lua (original)
+++ httpd/test/framework/trunk/t/htdocs/modules/lua/setheaders.lua Thu Jul  6 15:38:34 2017
@@ -1,8 +1,4 @@
 function handle(r)
     r.headers_out["X-Header"] = "yes"
     r.headers_out["X-Host"]   = r.headers_in["Host"]
-    r.headers_out["X-Compat"]   = "compat"
-    --[[
-    apr_table.set(r.headers_out, "X-Compat", "compat")
-    --]]
 end

Modified: httpd/test/framework/trunk/t/modules/lua.t
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/modules/lua.t?rev=1801073&r1=1801072&r2=1801073&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/modules/lua.t (original)
+++ httpd/test/framework/trunk/t/modules/lua.t Thu Jul  6 15:38:34 2017
@@ -37,7 +37,6 @@ my @ts = (
     { url => "$pfx/https.lua", rcontent => $https },
     { url => "$pfx/setheaders.lua", rcontent => "",
                                     headers => { "X-Header" => "yes",
-                                                 "X-Compat" => "compat",
                                                  "X-Host"   => $hostport } },
 );