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

24671 Commits

Author SHA1 Message Date
Daniel Gruno
cbd6cd22de xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1467561 13f79535-47bb-0310-9956-ffa450edef68
2013-04-13 06:37:57 +00:00
Daniel Gruno
90ec3f0c55 temporarily change a comment so the function can be commented out in the xml
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1467560 13f79535-47bb-0310-9956-ffa450edef68
2013-04-13 06:36:22 +00:00
Daniel Gruno
e38b304184 remove r:banner and r:port from docs, they are built in variables
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1467559 13f79535-47bb-0310-9956-ffa450edef68
2013-04-13 06:34:12 +00:00
Daniel Gruno
06014240dc fix up r.banner and r.port so they work like variables and not functions (seems to have already been put in there), duplicate??
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1467558 13f79535-47bb-0310-9956-ffa450edef68
2013-04-13 06:33:07 +00:00
Daniel Gruno
df8901ec7b fix docs on regex matching, change the actual ordering of arguments to match the docs, and enforce AP_MAX_REG_MATCH in the function, should it somehow return more matches than we have allocated
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1467557 13f79535-47bb-0310-9956-ffa450edef68
2013-04-13 06:24:11 +00:00
Daniel Ruggeri
ee3815bda9 Static var not neccessary here
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1467523 13f79535-47bb-0310-9956-ffa450edef68
2013-04-13 00:07:44 +00:00
Guenter Knauf
160cff8b27 MOdified r:stat() to return finer time granularity.
the atime, mtime, ctime, size values ar now in mod_lua
64bit as received from apr_stat().


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1467427 13f79535-47bb-0310-9956-ffa450edef68
2013-04-12 19:15:39 +00:00
Guenter Knauf
07142dbd92 Fixed typo; followup to r1467188.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1467409 13f79535-47bb-0310-9956-ffa450edef68
2013-04-12 18:45:46 +00:00
Guenter Knauf
b610081619 Added optional parameter flags to lua_ap_regex().
This enables to call r:regex() with a flag to do
case-insensitive matches.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1467188 13f79535-47bb-0310-9956-ffa450edef68
2013-04-12 07:29:56 +00:00
Guenter Knauf
acf05d4ee7 Increased stacksize for mod_lua on NetWare.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1467186 13f79535-47bb-0310-9956-ffa450edef68
2013-04-12 07:25:18 +00:00
Daniel Gruno
1083ba87de Comment out feature that we don't have yet.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1466822 13f79535-47bb-0310-9956-ffa450edef68
2013-04-11 10:11:36 +00:00
Guenter Knauf
29b9f3f42c Fixed Lua r:stat() time values.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1466743 13f79535-47bb-0310-9956-ffa450edef68
2013-04-11 00:19:30 +00:00
Christophe Jaillet
cba031c591 Align comments in examples
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1466178 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 19:04:55 +00:00
Daniel Gruno
894a2b1a9e xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1465944 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 09:31:34 +00:00
Daniel Gruno
01f4c82b21 Updating lua docs with examples of how to use the built-in functions
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1465942 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 09:29:47 +00:00
Daniel Ruggeri
d31632f33c Add failontimeout to allow server admin to mark balancer member in err if IO timeout occurs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1465839 13f79535-47bb-0310-9956-ffa450edef68
2013-04-09 00:18:42 +00:00
Eric Covener
086da9d005 PR54813 authz_dbm used to respond to 'Require group ...'
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1465828 13f79535-47bb-0310-9956-ffa450edef68
2013-04-08 23:47:19 +00:00
Daniel Gruno
dd85401ea4 xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1465603 13f79535-47bb-0310-9956-ffa450edef68
2013-04-08 12:01:20 +00:00
Daniel Gruno
7e6846647c Add example use case to doc
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1465602 13f79535-47bb-0310-9956-ffa450edef68
2013-04-08 12:00:37 +00:00
Christophe Jaillet
318ce8d81b Make the "default" parameter of the "ErrorDocument " option case insensitive.
PR 54419 reported by Tianyin Xu [tixu cs ucsd edu]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1465190 13f79535-47bb-0310-9956-ffa450edef68
2013-04-06 05:34:07 +00:00
Stefan Fritsch
1ed5eddce5 update xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1465117 13f79535-47bb-0310-9956-ffa450edef68
2013-04-05 20:23:20 +00:00
Stefan Fritsch
b02101b083 htpasswd: Add -v option to verify a password
htpasswd and htdbm could use some more refactoring...


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1465116 13f79535-47bb-0310-9956-ffa450edef68
2013-04-05 20:20:33 +00:00
Stefan Fritsch
e84335b00d fix htpasswd/htdbm brown paper bag bugs
- use the correct string to generate the hash from. PR 54735
- print error message instead of empty string

while there, replace strdup + check for oom with apr_pstrdup


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1465115 13f79535-47bb-0310-9956-ffa450edef68
2013-04-05 20:15:15 +00:00
Stefan Fritsch
52b220298d remove unused variables
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1465084 13f79535-47bb-0310-9956-ffa450edef68
2013-04-05 18:26:01 +00:00
Christophe Jaillet
48c6af9348 make the "ProxyHTMLFixups" options case insensitive in mod_proxy_html
PR 54420 reported by Tianyin Xu [tixu cs ucsd edu]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1464762 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 21:03:03 +00:00
Christophe Jaillet
aa6112daa6 Make option "CacheDisable" in mod_cache case insensitive.
PR 54462 reported by Tianyin Xu [tixu cs ucsd edu]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1464721 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 20:13:19 +00:00
Christophe Jaillet
cfab5af24f align comment
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1464716 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 20:03:34 +00:00
Christophe Jaillet
2a213716af Use apr_file_printf(... "%pm"...) instead of explicit call to apr_strerror
+ add some spaces to improve formatting

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1464675 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 18:46:56 +00:00
Christophe Jaillet
2b2015379b Use apr_file_printf(... "%pm"...) instead of explicit call to apr_strerror
+ add some spaces to improve formatting

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1464674 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 18:44:02 +00:00
Jeff Trawick
4149fb80f4 mod_dav: Improve error handling in dav_method_put(), add new
dav_join_error() function.

PR: 54145

Submitted by: Ben Reser <ben reser.org>
Reviewed by: trawick


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1464241 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 00:22:52 +00:00
Christophe Jaillet
162eccade2 Use apr_psprintf(... "%pm"...) instead of explicit call to apr_strerror
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1463754 13f79535-47bb-0310-9956-ffa450edef68
2013-04-02 21:14:10 +00:00
Christophe Jaillet
ae8de8d48c Use apr_file_printf(... "%pm"...) instead of explicit call to apr_strerror
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1463750 13f79535-47bb-0310-9956-ffa450edef68
2013-04-02 21:03:25 +00:00
Christophe Jaillet
a9f8426059 Use apr_snprintf(... "%pm"...) instead of explicit call to apr_strerror
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1463736 13f79535-47bb-0310-9956-ffa450edef68
2013-04-02 20:20:12 +00:00
Ruediger Pluem
f707141760 * Always try to reuse the address looked up for the worker if we are allowed to
reuse the address. This saves DNS lookups.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1463455 13f79535-47bb-0310-9956-ffa450edef68
2013-04-02 09:18:01 +00:00
Stefan Fritsch
e00688ffd9 Use %pm available since apr 1.3 instead of an extra call to apr_strerror
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1463056 13f79535-47bb-0310-9956-ffa450edef68
2013-03-31 21:29:28 +00:00
Stefan Fritsch
a68ec08398 use ap_log_error's facility to print the apr error string instead of
calling apr_strerror() explicitly


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1463052 13f79535-47bb-0310-9956-ffa450edef68
2013-03-31 21:12:00 +00:00
Stefan Fritsch
0c973e51b3 Remove partial non-working implementation of MD5-sess and qop=auth-int.
If anyone wants to finish the code, it can be retrieved from svn history.
Remove some obsolete references to the truerand library.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1463049 13f79535-47bb-0310-9956-ffa450edef68
2013-03-31 20:38:17 +00:00
Stefan Fritsch
770dc35c17 if shm initialization fails, reset client_list to avoid crashes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1463047 13f79535-47bb-0310-9956-ffa450edef68
2013-03-31 20:17:44 +00:00
Stefan Fritsch
3742c77564 Remove some useless declarations that were shadowing other local
variables of the same name.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1463046 13f79535-47bb-0310-9956-ffa450edef68
2013-03-31 20:16:07 +00:00
Stefan Fritsch
979cd47257 ap_log_error already logs the error string, no need to log it twice
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1463045 13f79535-47bb-0310-9956-ffa450edef68
2013-03-31 20:13:48 +00:00
Stefan Fritsch
16ae8a17c5 use apr_array for an array
Submitted by: Christophe JAILLET (with small tweaks by myself)
PR: 52881


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1463044 13f79535-47bb-0310-9956-ffa450edef68
2013-03-31 20:10:43 +00:00
Christophe Jaillet
c9ddf49c3f Name pool + concat string at compile time when possible
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1462643 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 20:59:22 +00:00
Lucien Gentis
ce934ed72d Update.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1462453 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 12:19:09 +00:00
Ruediger Pluem
43fdfc96cd * Improve reusage of already resolved addresses to avoid unnecessary DNS lookups.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1462269 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 19:36:03 +00:00
Ruediger Pluem
b8d1cc69df * Inherit providers during merging
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1462266 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 19:28:43 +00:00
Christophe Jaillet
86087766c6 Be more clever when allocating memory for log item to be escaped.
This should save about 70-100 bytes in the request pool with the default config.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1461869 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 21:57:44 +00:00
Jim Jagielski
9c534417a4 update w/ correct patch level
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1461832 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 20:04:22 +00:00
Rich Bowen
0aaaa75448 Typo
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1460930 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 23:28:19 +00:00
Lucien Gentis
e9a7fd7c5f Updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1460159 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 14:14:05 +00:00
Stefan Fritsch
76e9a1dcb5 disable pool alloc poisoning if APR_POOL_DEBUG is enabled because it uses
conflicting defines


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1459992 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 21:13:10 +00:00