1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-06 09:01:14 +03:00
Commit Graph

23732 Commits

Author SHA1 Message Date
Daniel Gruno
80d0cb1585 xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1368234 13f79535-47bb-0310-9956-ffa450edef68
2012-08-01 20:15:37 +00:00
Daniel Gruno
a976756441 Add some info about what LuaHookTypeChecker could be used for (other ideas are most welcome)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1368232 13f79535-47bb-0310-9956-ffa450edef68
2012-08-01 20:13:04 +00:00
Daniel Gruno
75723be6b7 Fix up some contradictory contexts
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1368204 13f79535-47bb-0310-9956-ffa450edef68
2012-08-01 19:21:57 +00:00
Jeff Trawick
21f3b51790 spelling fix
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1368131 13f79535-47bb-0310-9956-ffa450edef68
2012-08-01 17:11:14 +00:00
Jeff Trawick
7479b23caa core: Add post_perdir_config hook.
Submitted by: Steinar Gunderson <sgunderson bigfoot.com>

trawick added/fixed include/ pieces


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1368121 13f79535-47bb-0310-9956-ffa450edef68
2012-08-01 16:54:00 +00:00
Jeff Trawick
ea66bb37ca mod_lua.c:189:13: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1368109 13f79535-47bb-0310-9956-ffa450edef68
2012-08-01 16:41:04 +00:00
Rainer Jung
e58f4b4284 xforms.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1368095 13f79535-47bb-0310-9956-ffa450edef68
2012-08-01 16:19:31 +00:00
Rainer Jung
f472a9b2a2 Remove anchor with dublicate id.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1368094 13f79535-47bb-0310-9956-ffa450edef68
2012-08-01 16:18:51 +00:00
Rainer Jung
a0a016f3a8 Complete docs metadata (sourcefile and identifier)
for mod_unixd and mod_privileges.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1368058 13f79535-47bb-0310-9956-ffa450edef68
2012-08-01 15:34:43 +00:00
Rainer Jung
e7f65d7aac Add a docs link to a configuration example.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1368053 13f79535-47bb-0310-9956-ffa450edef68
2012-08-01 15:25:02 +00:00
Daniel Gruno
49f2bfd6de xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1367955 13f79535-47bb-0310-9956-ffa450edef68
2012-08-01 12:25:15 +00:00
Daniel Gruno
9c510b8d36 Change the external reference to mod_proxy_html to an internal one.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1367951 13f79535-47bb-0310-9956-ffa450edef68
2012-08-01 12:23:04 +00:00
Daniel Gruno
238af542a3 mod_lua:
Clean up style
use apr_pstrcat instead of apr_psprintf
fix a bug that was causing bad string interpolations.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1367875 13f79535-47bb-0310-9956-ffa450edef68
2012-08-01 07:28:22 +00:00
Jeff Trawick
7f40cfd3ee initialize the protocol field when manufacturing an apr socket
lest accidential autodata contents leak into the apr_socket_t

(this doesn't address any known problem symptom)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1367819 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 23:19:56 +00:00
Rainer Jung
3c0cb7d1ed Fix typo in docs
(miscomception ->misconception)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1367778 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 20:59:29 +00:00
Daniel Gruno
277c110c6f Update CHANGES
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1367735 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 19:59:30 +00:00
Daniel Gruno
5e36abf35a mod_lua: Add the (missing) LuaMapHandler directive to the fold.
This should work as the existing documentation describes.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1367725 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 19:43:29 +00:00
Daniel Gruno
c34fe57d52 xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1367594 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 15:00:19 +00:00
Daniel Gruno
367fcc4182 Remove [max|min max] from the LuaScope syntax, since the 'server' scope is not implemented yet.
Note that 'thread' only applies to threaded MPMs

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1367590 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 14:56:59 +00:00
Daniel Gruno
c32773be6d xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1367512 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 12:03:29 +00:00
Daniel Gruno
ea71351b89 fix some xml errors
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1367511 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 12:01:45 +00:00
Daniel Gruno
b58c0e9780 Add some examples for LuaHookMapToStorage and LuaAuthzProvider
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1367506 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 11:52:42 +00:00
Daniel Gruno
ce1213a92d mod_lua: The current way of getting the authz provider name doesn't seem to work. This approach should fix that.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1367504 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 11:47:04 +00:00
Igor Galić
906dbb5154 update xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1367382 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 01:02:14 +00:00
Igor Galić
e7ca0d064d bump versions.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1367381 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 01:00:05 +00:00
Daniel Gruno
274b551846 xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1367305 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 21:12:41 +00:00
Daniel Gruno
a2706446eb Missing an 'a' in the new warning.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1367300 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 21:09:41 +00:00
Daniel Gruno
5180c41423 xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1367085 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 13:36:16 +00:00
Daniel Gruno
06908f5582 b -> strong
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1367082 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 13:33:57 +00:00
Daniel Gruno
732e6f4139 Add a security notice about using mod_lua on shared hosting.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1367081 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 13:31:28 +00:00
Daniel Gruno
664f924857 mod_lua: Remember to set cfg->codecache to AP_LUA_CACHE_UNSET when creating a config
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1367048 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 09:36:44 +00:00
Daniel Gruno
450ebd9c86 Forgot to sign it
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1367043 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 09:12:52 +00:00
Daniel Gruno
b966a9f4ee Add LuaCodeCache to CHANGES.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1367042 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 09:11:40 +00:00
Daniel Gruno
c67acaa6fc mod_lua: Pass on the request_rec to ap_lua_get_lua_state, so we can use it for allocating memory for the cache info lookup.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1367040 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 09:06:41 +00:00
Igor Galić
241fc01bd9 update xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1367034 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 08:43:23 +00:00
Igor Galić
e3af1a2e5c Selecting an MPM in performance docs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1367031 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 08:39:42 +00:00
Daniel Gruno
c0cc85a065 mod_lua: Fix up LuaCodeCache:
- Check both mtime and size of a file when comparing with cache, in case the file is being written to while read
- If LuaCodeCache is 'never', only reload it if it has been run once or more.
- Never use cache if LuaScope is 'once'.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1367025 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 08:19:14 +00:00
Daniel Gruno
e69eb628f7 uncomment LuaCodeCache directive
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1366891 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 19:08:18 +00:00
Daniel Gruno
f9b07d1b34 Add LuaCodeCache directive for controlling in-memory caching.
This might need some tweaking on the hash key generation for the mtime lookups, ideas are welcome.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1366890 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 19:07:38 +00:00
Daniel Gruno
6722d47519 xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1366864 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 16:00:54 +00:00
Daniel Gruno
01506da2a5 LuaQuickHandler had no syntax, which made the reference sheet look wrong.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1366862 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 15:58:47 +00:00
Daniel Gruno
1404817d46 xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1366861 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 15:53:38 +00:00
Daniel Gruno
4611926a78 Comment out LuaCodeCache, which hasn't been implemented yet.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1366859 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 15:49:52 +00:00
Daniel Gruno
c9c8dd5fab Add a note about LUA_COMPAT_ALL.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1366655 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 12:00:14 +00:00
Daniel Gruno
759dfc8e96 LUA_COMPAT_ALL should be defined _before_ including lua headers
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1366621 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 09:09:07 +00:00
Jeff Trawick
94b3a2b552 mod_proxy_balancer: Restore balancing after a failed worker has
recovered when using lbmethod_bybusyness.

PR: 48735

Markus Stoll and Adam C both submitted patches against 2.2.x
to bug 48735.  Compared with those two, this solution

1. resets the busy field in the error-ed worker at the end of
   the request instead of at recovery time
2. leaves the lbstatus field alone
3. covers all possible scenarios where the busy field in the
   error-ed worker needs to be adjusted, since a cleanup to
   perform the decrement is registered at the point of the
   increment


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1366344 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 11:50:25 +00:00
Daniel Gruno
8e0f68ea78 ap_str(case)cmp_match returns the opposite of what is advertized in the header.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1366319 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 09:57:09 +00:00
Daniel Gruno
6a3162fdf2 xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1365954 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 11:36:29 +00:00
Daniel Gruno
e4c48bcba8 LuaScope also has a 'thread' value.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1365950 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 11:32:32 +00:00
Rainer Jung
157e045d87 Remove backported item from CHANGES.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1365778 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 21:29:50 +00:00