httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bri...@apache.org
Subject svn commit: r671609 - /httpd/mod_wombat/trunk/request.c
Date Wed, 25 Jun 2008 17:37:58 GMT
Author: brianm
Date: Wed Jun 25 10:37:57 2008
New Revision: 671609

URL: http://svn.apache.org/viewvc?rev=671609&view=rev
Log:
patch from DarkGod to expose hostname and subprocess_env

Modified:
    httpd/mod_wombat/trunk/request.c

Modified: httpd/mod_wombat/trunk/request.c
URL: http://svn.apache.org/viewvc/httpd/mod_wombat/trunk/request.c?rev=671609&r1=671608&r2=671609&view=diff
==============================================================================
--- httpd/mod_wombat/trunk/request.c (original)
+++ httpd/mod_wombat/trunk/request.c Wed Jun 25 10:37:57 2008
@@ -393,12 +393,16 @@
     lua_pushstring(L, r->args);
     lua_setfield(L, -2, "args");
     
+    lua_pushstring(L, r->hostname);
+    lua_setfield(L, -2, "hostname");
+
     lua_pushboolean(L, r->assbackwards);
     lua_setfield(L, -2, "assbackwards");
 
     lua_pushcfunction(L, &req_add_output_filter);
     lua_setfield(L, -2, "addoutputfilter");
 
+    apw_push_apr_table(L, "subprocess_env", r->subprocess_env);
     apw_push_apr_table(L, "headers_out", r->headers_out);
     apw_push_apr_table(L, "headers_in", r->headers_in);
     apw_push_apr_table(L, "notes", r->notes);



Mime
View raw message